iOS Xcode10 真机运行缺少libstdc++.6.0.9 模拟器运行缺少-lstdc++.6.0.9


原因是Xcode 10中将libstdc++.6.0.9库文件删除,原本功能迁移至其他库.

在终端输入以下命令打开Xcode的lib库目录,放入libstdc++.6.0.9.

真机运行库 

/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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM