SDK does not contain ‘libarclite‘ at the path

Xcode15运行报错:SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/ Developer/Toolchains/XcodeDefault.xctoolchain/us/lib/arc/libarclite_iphoneos.a'

如下图:

阅读报错信息,它的意思是 SDK没有包含 'libarclite' 这个文件,这个文件的路径是:

/Applications/Xcode.app/Contents/ Developer/Toolchains/XcodeDefault.xctoolchain/us/lib/arc/

解决方法:

1.下载:https://github.com/kamyarelyasi/Libarclite-Files中的文件夹,把模拟器(libarclite_iphonesimulator.a)和真机(libarclite_iphoneos.a)的文件都复制出来

2.进入路径:/Applications/Xcode.app/Contents/ Developer/Toolchains/XcodeDefault.xctoolchain/us/lib/arc/,将以上两个文件复制进去

(PS:有些Xcdoe没有arc文件,如果没有,那就先在lib目录下新建一个)

晚上以上步骤,重启Xcode即可.

相关推荐
东东爱编码4 小时前
一路磕磕绊绊解决flutter doctor 报错CocoaPods not installed
flutter·xcode·cocoapods
yzwdzkn18 小时前
解决Flutter 2.10.5在升级Xcode 16后的各种报错
flutter·macos·xcode
wumu_Love2 天前
Xcode 15 file-write-create
ide·macos·xcode
1024小神4 天前
xcode快捷键使用操作,快速选中当前行
xcode
OKXLIN7 天前
XCode集成第三方framework步骤
ide·macos·framework·xcode
humiaor7 天前
Xcode为不同环境配置不同的环境变量
ide·macos·xcode·xcode多环境·user-defined
LinXunFeng12 天前
Flutter - Xcode16 还原编译速度
前端·flutter·xcode
1024小神16 天前
theos工具来编译xcode的swiftUI项目为ipa文件
macos·swiftui·xcode
watersink17 天前
基于大模型的pc版语音对话问答
ide·macos·xcode
Macle_Chen18 天前
XCode中使用MonkeyDev开发iOS版的Comand-line Tool的daemon程序
macos·ios·xcode·逆向·comand-line