1.升级Xcode10以后 打包项目的时候出现一些路径找不到的编译错误
ld: warning: directory not found for option '-L/Users/ProjectPath/Macros'
ld: warning: directory not found for option '-F/Users/ProjectPath/UMSDK/UMShareSDK/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI'
ld: warning: directory not found for option '-F/Users/ProjectPath/OSS'
ld: warning: directory not found for option '-F/Users/ProjectPath/Payment/AliPay'
ld: warning: directory not found for option '-F/Users/ProjectPath/UMSDK/UMCountSDK'
ld: warning: directory not found for option '-F/Users/ProjectPath/UMSDK/UMSocial/SocialLibraries/QQ'
ld: warning: directory not found for option '-F/Users/ProjectPath/UMSDK/UMSocial/UMSocialSDK'
ld: warning: directory not found for option '-F/Users/ProjectPath/UMSDK/UMSocial/UMSocialUI'
ld: warning: directory not found for option '-F/Users/ProjectPath/UMSDK/UMSocial/SocialLibraries/QQ/QQSDK'
ld: warning: directory not found for option '-F/Users/ProjectPath/YMResource/AliPay/AliPay'
ld: warning: directory not found for option '-F/Users/ProjectPath/YMResource/YZSDK'
ld: library not found for -lcrypto
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这部分编译错误可分为两类:
1. 链接Library时出错
"directory not found for option '-L/..."
如果错误如上,这表示是查询 Library 的时候出现的异常。
解决方法:Project -> targets -> Build Setting -> Library Search Paths
删除里面的路径
2. 链接Framework时出错
"directory not found for option '-F/..."
错误如上,这表示是查询 Framework 的时候出现的异常。
解决方法:Project -> targets -> Build Setting -> Framework Search Paths
删除里面的路径
2.Xcode10打包引起iOS9.0-9.2系统的用户启动App随机崩溃的问题修复记录
关于这个问题的发生情况及解决办法,详见 Xcode10打包引起iOS9.0-9.2系统的用户启动App随机崩溃的问题修复记录
3.iOS12以后从AppStore下载的应用 如果原应用名称是中文下载后变为英文的情况
关于这个问题,需要在手动设置 DisplayName
设置前,下载应用名展示为 note
设置前,下载应用名展示为 体重小本
详见: iOS开发,适配iOS 12