Xcode10: library not found for -lstdc++.6.0.9

升级到Xcode10后,由于几个库被弃用,编译会报错 library not found for -lstdc++.6.0.9,解决办法就是:

Xcode9中真机运行的库保存在此路径中

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

将libstdc++.6.0.9.tbd通过下边的方法添加进去

TARGETS -> Linked Frameworks and Lobraries -> Add Others。

这是Xcode9下的lib文件夹的压缩包,分享链接:https://pan.baidu.com/s/1aSgVmRmJT7cIRndLCiIA1w 密码:fm3t

你可能感兴趣的:(Xcode10: library not found for -lstdc++.6.0.9)