1.升級Xcode10以后 打包項目的時候出現(xiàn)一些路徑找不到的編譯錯誤
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 的時候出現(xiàn)的異常。
解決方法:Project -> targets -> Build Setting -> Library Search Paths
刪除里面的路徑
2. 鏈接Framework時出錯
"directory not found for option '-F/..."
錯誤如上,這表示是查詢 Framework 的時候出現(xiàn)的異常虚汛。
解決方法:Project -> targets -> Build Setting -> Framework Search Paths
刪除里面的路徑
2.Xcode10打包引起iOS9.0-9.2系統(tǒng)的用戶啟動App隨機(jī)崩潰的問題修復(fù)記錄
關(guān)于這個問題的發(fā)生情況及解決辦法,詳見 Xcode10打包引起iOS9.0-9.2系統(tǒng)的用戶啟動App隨機(jī)崩潰的問題修復(fù)記錄
3.iOS12以后從AppStore下載的應(yīng)用 如果原應(yīng)用名稱是中文下載后變?yōu)橛⑽牡那闆r
關(guān)于這個問題,需要在手動設(shè)置 DisplayName
設(shè)置前,下載應(yīng)用名展示為 note
設(shè)置前,下載應(yīng)用名展示為 體重小本
詳見: iOS開發(fā)媳维,適配iOS 12