美文网首页
carthage build遇到:CryptoSwift hav

carthage build遇到:CryptoSwift hav

作者: 周小周_ | 来源:发表于2023-03-14 10:57 被阅读0次
升级Xcode 到14.2,carthage build的时候一直有个库过不去提示:
.../Library/Caches/org.carthage.CarthageKit/DerivedData/14.2_14C18/CryptoSwift/
1.6.0/Build/Products/Release-iphonesimulator/CryptoSwift.framework
/CryptoSwift have the same architectures (arm64) and can't be in the same fat output file

这个跟XCode12 模拟器静态库支持arm64架构有关

最后解决办法,打开carthage/checkout文件中的CryptoSwift工程,修改Build Settings -> Excluded Architectures然后单独build这个库就ok了。
image.png

相关文章

网友评论

      本文标题:carthage build遇到:CryptoSwift hav

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