美文网首页
Xcode 15 适配

Xcode 15 适配

作者: 小木工_aedc | 来源:发表于2023-11-20 15:34 被阅读0次

1、问题:

出现大量Duplicate symbols

修复方法:

在Xcode -> Target -> Build Setting -> Other Linker Flags 添加一行"-ld64"

2、问题:

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

修复方法:

从旧版Xcode拷贝 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/目录下的arc文件夹

3、问题:

rsync error: some files could not be transferred (code 23)

修复方法:

找到项目所在路径/Pods/Target Support Files/Pods-xxx/Pods-xxx-frameworks.sh
找到 source="(readlink "{source}")",修改成
source="(readlink -f "{source}")"

相关文章

网友评论

      本文标题:Xcode 15 适配

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