美文网首页
升级xode10遇到的bug library not found

升级xode10遇到的bug library not found

作者: 22222912 | 来源:发表于2018-09-29 11:24 被阅读0次

缺少-lstdc++.6.0.9库

解决办法

可以找个10之前版本的Xcode,把这个库文件拷贝到Xcode10的相同目录里。

具体如下:右击之前版本的Xcode显示包内容,

1.真机:进入目录Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib,把里面的libstdc++.6.0.9.tbd拷贝到Xcode10的相同的目录里,然后右击制作替身,命名为libstdc++.6.tbd。clear然后重启Xcode。

2.模拟器:类似,只是目录不同,进入之前版本的目录Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib,

把里面的libstdc++.6.0.9.dylib拷贝到Xcode10的相同的目录里,然后右击制作替身,命名为libstdc++.6.dylib。clear然后重启Xcode。

 之前Xcode版本的libstdc++的githhub地址:https://github.com/liuyongfa/libstdc.git

相关文章

网友评论

      本文标题:升级xode10遇到的bug library not found

      本文链接:https://www.haomeiwen.com/subject/hlpvoftx.html