1. 程式人生 > >xcode缺少的庫導致報錯

xcode缺少的庫導致報錯

開發十年,就只剩下這套架構體系了! >>>   

錯誤資訊:

ld: library not found for -lstdc++.6
clang: error: linker command failed with exit code 1 (use -v to see invocation)

之前升級過一次 然後報錯 操作好了 今天又升級了 又犯了 記錄一下 直接丟進去就好了

路徑:手機

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib

模擬器:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib

檔案:

連結:https://pan.baidu.com/s/12gUhxX7C9J4N1k4Tcf1Iqw  密