Apple Silicon - Could not find module *** for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator, at: ***

Hello,

When I build an XCode project with the Apple Silicon chip, I have some issues.

The project contains Pods and Swift Packages.

I could not run the application at all and always got the following error:

Could not find module '***' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator, at: ***

I try to resolve this issue.

  1. Always embed swift standard libraries = YES
  2. Build Active Architure Only = YES
  3. UIRequiredDeviceCapabilities = armv7
  4. Excluded Architectures > Debug > Any iOS Simulator SDK arm64 add
  5. Open Using Rosetta
  6. Excluded Architectures > Debug > Any iOS Simulator SDK arm64 remove

However, issue always come to me. :(

Do you have any solution for this problem ?

Thank you by advance !