- 升级到Xcode 10 不支持lstdc++.6的解决办法
- xcode12. ld: library not found f
- ld: library not found for -lstdc
- library not found for -lstdc++.6
- library not found for -lstdc++.6
- library not found for -lstdc++.6
- library not found for -lstdc++.6
- library not found for -lstdc++.6
- library not found for -lstdc++.6
- library not found for -lstdc++.6
- 1.编译完成之后报如下错误:
ld: library not found for -lstdc++.6.0.9
clang: error: linker command failed with exit code 1 (use -v to see invocation)
-
2.解决方法:
(1).尝试在xcode搜索这个库却找不到


(2).所以想着应该是xcode 13中废弃这个库了,然后就在网上找了一下这个几个库分别给放到指定的位置下边就可以了。
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/
/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/
网友评论