pod install 报错 ‘SDK does not contain ‘libarclite‘ at the path...‘

报错内容:

SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a';

这是报错已经很明确告诉我们,Xcode默认的工具链中缺少一个工具库 libarclite_iphoneos.a

我们只需要找回或者补充这个工具库就行了。

这里有我的库资源:
libarclite资源 from Gitee

只需要clone下项目来之后,选择缺失的工具库,然后 copy到指定目录就行了:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/

也可以用我的一句话脚本解决:

shell 复制代码
curl -s https://kaelblog.oss-cn-beijing.aliyuncs.com/share/script/lib_arc.sh | bash
rm -f https://kaelblog.oss-cn-beijing.aliyuncs.com/share/script/lib_arc.sh

如果文章对您有帮助的话,顺手点赞收藏下吧

相关推荐
茶底世界之下19 小时前
阴天海边的蓝船:用 Awaking 把灰蓝调成清亮主角
ios·app·产品
Digitally1 天前
如何将 iPhone 备份到 iCloud?
ios
传奇开心果编程2 天前
【Flutter踩坑排雷】第19课:路由硬编码坑|字符串路由书写错误,页面跳转失败排查
android·flutter·ios·移动开发·跨平台·ui框架·声明式ui
茶底世界之下2 天前
雨后街口的斑马线:用 Awaking 把颜色让给光与步伐
ios·app·产品
茶底世界之下3 天前
晨雾河岸的旧书摊:用 Awaking 给木色一点暖光
ios·app·产品
90后的晨仔3 天前
在 macOS 27 上运行 Xcode 26
ios
茶底世界之下4 天前
山间站台不必转暖:用 Awaking 留住冷光与红箱
ios·app·产品
songgeb5 天前
YYImage Bug:一行之差,正常 JPEG 如何在 iOS 被读成条纹
ios·swift
茶底世界之下5 天前
阴天花摊不必变暖:用 Awaking 留住花色与湿街
ios·app·产品