在xcode9 升级 xcode10 以上版本或者维护比较旧项目时时报错library not found for -lstdc++.6.0.9或者 library not found for -lstdc++,这是因为Xcode10以上版本中xcode9升级后libstdc++.6.0.9和libstdc++被移除,Frameworks中libstdc++.6.0.9和libstdc++找不到对应的库。将资源库添加
报not found libstdc++.6.0.9.tbd,是因为Xcode10没有这个库,可下载文件到路径:命令open+真机环境/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
模拟器/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.pla
xcode10报错找不到此文件 not found libstdc++.6.0.9,可将tbd文件拷贝至相应目录使用
真机:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib
模拟器:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform