Xcode 10 更新后編譯報錯:library not found for -lstdc++.6 , library not found for -lstdc++.6.0.9
因為xcode10 廢棄了libstdc++,使用libc++取代
解決方法:從xcode9中拷貝這幾個庫到xcode10, 路徑如下
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
重新編譯即可。。