由于Xcode10中缺失了libstdc++ 的庫導(dǎo)致部分依賴于這個(gè)庫的三方庫無法編譯 其中有人寫了對應(yīng)的腳本這里分享出來 git腳本地址
如果腳本不好用可以自己手動把對應(yīng)1、2弯汰、3蓬网、4文件夾中的文件放入對應(yīng)的目錄下 某盤鏈接
文件夾 1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/
文件夾 2:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/
文件夾 3:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
文件夾 4:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/