Member-only story
Installing Xcode 14.3 or Later Breaks Xcode 14.2 and Earlier Versions
After installing Xcode 15 beta, I encountered error “building for iOS Simulator, but linking in object file built for iOS, file for architecture arm64”
I recently installed Xcode 15 beta 2, and then I noticed that when I tried to run my project on the simulator using Xcode 14.1, I encountered this error:
“In …, building for iOS Simulator, but linking in object file built for iOS, file ‘…’ for architecture arm64.”
If you try to run the Xcode simulator on a Mac with Apple silicon without running Xcode using Rosetta, you’ll encounter the same error.
After installing Xcode 14.3 or later versions, if you run simulators using Xcode 14.2 or earlier versions on Rosetta, you will still encounter this error.
Xcode 14.3 Release Notes
In the Xcode 14.3 Release Note, it only mentioned:
Deprecations:
“Xcode isn’t supported under Rosetta”.
It doesn’t specify that installing Xcode 14.3 or later would break the previous Xcode versions.