美文网首页
Xcode 14.3 报错问题

Xcode 14.3 报错问题

作者: 雨后天_ | 来源:发表于2023-05-02 10:33 被阅读0次

运行项目时报错:

ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

clang: error: linker command failed with exit code 1 (use -v to see invocation)

解决办法:

从旧版Xocde的  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc

的arc文件夹拷贝过来。或从其他地方下载也行。

然后把arc文件夹放到  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib 目录下重新编译即可。

相关文章

网友评论

      本文标题:Xcode 14.3 报错问题

      本文链接:https://www.haomeiwen.com/subject/ismajdtx.html