升级了XCode 中已经移除了libstdc++(libstdc++.6、libstdc++6.0.9)库。
解决方法一:
删除libstdc++(libstdc++.6、libstdc++6.0.9)库,然后添加libc++库
解决方法二:
将Xcode 9中的6.0.9丢到Xcode中,然后重启Xcode。(需注意这个分真机和模拟器)
链接: https://pan.baidu.com/s/1Cloc3i7KwGQPaVrdUGI3yw 提取码: wj1e
真机/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