Can Poyrazoğlu
Can Poyrazoğlu

Reputation: 34780

Why is iOS Simulator build targeting x86_64 on Apple Silicon Mac?

I've recently had to introduce a library (GoogleMLKit, using Pods) that doesn't support arm64 on simulators.

If I try to build for simulator on arm64 (non-Rosetta) Xcode gives linker errors for x86_64 referenced from newly added Google libraries and their dependencies.

And most importantly:

I've tried excluding arm64 and/or x86_64 for my pods in my podfile but no avail.

I'm on Xcode 15.0.1.

Upvotes: 9

Views: 1425

Answers (0)

Related Questions