问题1 报文件重复
File–> Workspace Settings –> Build System 将New Build System 修改为 Legacy Build System
问题2 找不到libstdc++.6.0.9
Xcode9中的libstdc移动到了Xcode10对应目录下,clean几下。步骤如下:
点击链接,下载libstdc609zip 包
http://incode.live/upload/a950939393f14869b229470345c3212c_libstdc609.zip
其中文件夹 1、2、3、4 中的文件分别对应复制到Xcode10中的以下4个目录中即可:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/
/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/
注意添加完后多clean 几下。