SDK does not contain ‘libarclite‘ at the path
Xcode16以上版本更新SDK之后就报错了。是因为缺少libarclite_iphoneos.a文件。所以需要在网上找一下该文件根据路径添加进去,arc文件可能需要新建一下。
clang: error: 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
在网上找了一个下载地址:libarclite_iphoneos.a
将下面复到搜索框
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
本地电脑上的文件夹。arc是我新建的文件夹,如果你的电脑有该文件夹就不用新建:
下载下来的文件:
将上面选中的两个文件复制粘贴到arc文件里面。
重新编辑代码即可