Ask HN: Xcode 14.3 Beta 2 disables x86 builds for older Xcode versions?
Since I installed Xcode 14.3 Beta 2 I cannot build x86 simulator binaries even with Xcode 14.2. Uninstalling Xcode 14.3 Beta 2 and reinstalling Xcode 14.2 didn't fix it either. All simulator builds are now arm64 and fail to link to third party libraries only available for x86 simulator.
Can anyone confirm? Is there a fix?
8 comments
[ 1.8 ms ] story [ 27.2 ms ] thread"Deprecations in Xcode 14.3 Beta Xcode isn’t supported under Rosetta. See Developer Technote “Resolving architecture build errors on Apple silicon“ for more information. (92772361)" [ https://developer.apple.com/documentation/technotes/tn3117-r... ]
From: https://developer.apple.com/documentation/xcode-release-note...
Can't you still build a Universe app build? Haven't had 14.3 but perhaps it should be able to cross compile from M1 XCode, and not need Rosetta?
With regard to your suggestion: I have a complex client project setup that I cannot really tinker with a lot. It worked with Xcode 14.2 prior to the installation of Xcode 14.3 Beta (in addition to Xcode 14.2). I am afraid what you suggest is not really an option for me.
Given that building like 14.2 alone allowed is more of a priority than having 14.3 beta.
Can also try to install macOS on VM on your Mac, and keep that with just 14.2 there for builds.
Setting up a macOS VM would most likely not be suitable for testing, which the simulator builds are primarily for in my use case.
Thanks for your suggestions!
/Library/Developer
/Library/Preferences/com.apple.dt.Xcode.plist
~/Library/Developer
~/Library/Preferences/com.apple.dt.Xcode.*
~/Library/Caches/com.apple.dt.Xcode.*
/Applications/Xcode.app
Though not 100% accurate, this forum thread was helpful: https://developer.apple.com/forums/thread/705846
I suspect that installing 14.3 Beta changes the configuration files in /Library and therefore causes this behavior. After restoring all the files, x86 builds work again when building for Simulator with Xcode running in Rosetta mode.
Any confirmation that this is really what happens would still be appreciated.