美文网首页
升级Xcode10 报错处理

升级Xcode10 报错处理

作者: 薄凉_简书 | 来源:发表于2018-09-25 11:11 被阅读39次

1.文件名重复问题

项目中会有很多Info.plist文件,或者其他,文件名重复,在Xcode10编译不通过

File --> Workspace Settings --> Build System 修改为Legacy Build System (默认是New Build System)

2.找不到libstdc++.***

因为iOS12.0中去掉了libstdc++.***.tbd,全部采用libc++代替libstdc++,由于很第三方用到这个库,所以暂时只能将Xcode9中的libstdc++移动到Xcode10对应目录下

cp /Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libstdc++.* /Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/

cp /Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libstdc++.* /Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/

3.模拟器运行报错


暂时没找到解决办法o(╯□╰)o

相关文章

网友评论

      本文标题:升级Xcode10 报错处理

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