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.

  • could not find module ‘Alamofire’ for target ‘arm64-apple-ios-simulator’; found: x86_64-apple-ios-simulator, x86_64
  • Command CompileSwift failed with a nonzero exit code

Answer

Another workaround is to set BuildSettings ->”Validate Workspace” to Yes. It will still show a warning, but will build the project.

enter image description here