library not found for -lstdc++.6.0.9

library not found for -lstdc++.6.0.9

下载地址

https://github.com/YouZhiZheShiJingCheng/libstdc

复制到对应的文件夹下面就好了

模拟器

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

真机

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