carthage build遇到:CryptoSwift hav
2023-03-14 本文已影响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了。
