每次升级Xcode都会出现这个问题,这次记录一下

链接:https://pan.baidu.com/s/1p5l4GSPhR98MW-7cGbbxSg  密码:9zgx

部分项目依赖 libstdc++.6.0.9 的会在Xcode 10无法运行

其原因是Xcode 10中将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


把libstdc++.6.0.9.tbd文件拖到文件夹替换即可

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐