library not found for -libstdc++
- xcode10 iOS12 之前使用libstdc++.6.0.9 1.tbd
- 在Xcode10中使用libc++.tdb ,所以加入之前的lib文件
在下面的路径中分别加入libstdc++.6.0.9 1.tbd
- RuntimeRoot的lib路径如下:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/
- 在iPhoneOS.sdk的lib路径如下:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
- 在iPhoneSimulator.sdk的lib路径如下:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/
还是不可以,则修改以下配置