项目编译报错如下;
clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a'; try increasing the minimum deployment target
原因:
缺少arc下的库,需要下载放到xcode指定目录下
解决办法:
1、https://github.com/strengthen/DeviceSupport/tree/main/Libarclite_Files
根据需要下载相应版本,比如ios只需要下载,libarclite_iphoneos.a和libarclite_iphonesimulator.a。
2、finder跳转到xcode目录/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/
,创建arc目录,把下载的库放进去。
3、重新编译程序。