Xcode自动升级到10.0
1.编译的时候报错:
Multiple commands produce
解决办法:
File -> Workspace Setting -> build system: legacy build system
参考:
https://www.jianshu.com/p/8a8444acdca5
2.library not found for -lstdc++.6.0.9
临时解决办法
拷贝缺失的 libstdc++、libstdc++.6、libstdc++6.0.9
到
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/ (真机地址)
下载地址连接 链接: https://pan.baidu.com/s/19Ko_DRV0Z1W5Tl3y0zYz2g 提取码: rsya
参考:
https://my.oschina.net/iceTear/blog/2050270