[英]could not find module 'Alamofire' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64
I have updated xcode to 12.3, i am getting the new errors.我已将 xcode 更新到 12.3,我收到了新错误。
I was using Carthage 0.38 and XCode 13. I encountered this issues when building Moya.我使用的是 Carthage 0.38 和 XCode 13。我在构建 Moya 时遇到了这个问题。
I found that in file Carthage > Build > iOS , there is a duplicate Alamofire framework build (another one is in Carthage > Build), and XCode somehow use this for building Moya.我发现在Carthage > Build > iOS文件中,有一个重复的 Alamofire 框架构建(另一个在 Carthage > Build 中),并且 XCode 以某种方式使用它来构建 Moya。
After I deleted the duplicate one, it can be built successfully.我删除重复的后,它可以成功构建。
change your project name use only english characters更改您的项目名称仅使用英文字符
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.