정지우
정지우

Reputation: 1

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


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 xxx for target x86_64-apple-ios-simulator; found: arm64-apple-ios-simulator, at: xxx

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!

Upvotes: 0

Views: 263

Answers (0)

Related Questions