关于not found for -lstdc++.6.0.9问题(新)

之前写过一篇文章来记录怎么处理这个问题,但是发现在最新的Xcode中并不适用,还是会出现错误,现在更新下处理问题的方法。(系统:10.15.5,Xcode版本:11.5)

2067115-ee7de318d4cb4738.png
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/

如果在比较新的系统版本中,“前往文件夹”不能直接进入,请在“应用程序”中找到Xcode ->显示包内容,然后一步一步按照上述路径进行操作。如遇到文件不显示下一路径,继续显示包内容即可。

下面是文件地址,按照顺序对应放到文件路径内即可
地址:https://gitee.com/wangqi1221/Xcode_libstdc.git
如果还是报错,退出Xcode重新进入,编译一下就好了。

你可能感兴趣的:(关于not found for -lstdc++.6.0.9问题(新))