##Xcode 10升级报错:clang: error: linker command failed with exit code 1(use -v to see invocation)

WechatIMG43.jpeg

报错原因是升级以后iOS10 将libstdc++.6.0.9库文件删除,所以只需要下载下来放进去就OK了。
1.下载地址:https://pan.baidu.com/s/10gZrtGtspgpKT7qSY-bBDg
切记两个位置都要替换:
2.将下载文件放到指定位置

(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

你可能感兴趣的:(##Xcode 10升级报错:clang: error: linker command failed with exit code 1(use -v to see invocation))