美文网首页
修复Xcode10:library not found for

修复Xcode10:library not found for

作者: 水跃龙纹 | 来源:发表于2019-04-18 10:10 被阅读0次

Xcode 10中将libstdc++.6.0.9库文件删除了,所以拷贝旧版本中的文件到Xcode10中就好了就好了。

libstdc++.6.0.9下载

真机运行库

在终端中打开下面的路径,将真机文件拷贝进去:

open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib

模拟器运行库

在终端中打开下面的路径,将模拟器文件拷贝进去::

open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib

相关文章

网友评论

      本文标题:修复Xcode10:library not found for

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