美文网首页
Xcode10升级,libstdc++6.0.9错误

Xcode10升级,libstdc++6.0.9错误

作者: 跨端开发 | 来源:发表于2018-10-31 15:47 被阅读13次

Because apple removes libstdc++ in Xcode 10.0, so if you want to solve the problem, you can try to manually copy the file to lib.
1.iPhoneOS and iPhoneSimulator file
copy the file: libstdc++.6.0.9.tbd and libstdc++.6.tbd and libstdc++.tbd to :

/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/

2.iOS.simruntime file
copy the file: libstdc++.6.0.9.dylib and libstdc++.6.dylib and libstdc++.dylib to:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib

下载地址:(需要分开真机和模拟器,还有.dylib)
链接: https://pan.baidu.com/s/1cGBjvoaF-4MgwbgwFdwfKw 提取码: pd2n 复制这段内容后打开百度网盘手机App,操作更方便哦

相关文章

网友评论

      本文标题:Xcode10升级,libstdc++6.0.9错误

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