升级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了。
![](https://img.haomeiwen.com/i13728110/fa6063b0e4588620.png)
网友评论