Xcode 10更新报错:clang: error: linker command failed with exit code 1(use -v to see invocation)
报错原因是iOS10 将libstdc++.6.0.9库文件删除,所以只需要下载下来放进去就OK了。
下载地址:https://pan.baidu.com/s/1kAyuc-at8_nRpzWxJjINgQ
1、真机运行库位置 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib
2、模拟器运行库位置 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib
网友评论