升级xcode到16.0,而代码仓库里面还是老项目,导致很多库版本不匹配而报错
SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a'; try increasing the minimum deployment
标题
SDK does not contain ‘libarclite’ at the path ‘/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a’; try increasing the minimum deployment target
问题描述
提示:这里描述项目中遇到的问题:
SDK does not contain ‘libarclite’ at the path ‘/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a’; try increasing the minimum deployment target
原因分析:
提示:这里填写问题的分析:
最近升级xcode到16.0,而代码仓库里面还是老项目,导致很多库版本不匹配
解决方案:
提示:这里填写该问题的具体解决方案:
1.先更新库
pod --version
pod repo update
pod install
2.然后在按照上图画圈的根据对于库。点击项目蓝色图标pod->切换到对应黄色手提包图标的库(例如我上面的图报错的是CocoaAsyncSocket,所以我切换到对应的库)->找到iOS DeploymentTarget,提高后面的版本->再运行
更多推荐
所有评论(0)