carthage build遇到:CryptoSwift have the same architectures (arm64) and can't be in the same fat out...

升级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
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容