Xcode 14.2 no longer runs properly under rosetta after installing 14.3 beta

We are running Xcode 14.2 using Rosetta, since we still have one library that needs to be updated.

I installed the Xcode 14.3 beta to test it and it no longer supports Rosetta, so I removed it (for now) to continue development with 14.2.

The problem that I now have is that the project no longer compiles using Xcode 14.2, even though it is clearly running in Rosetta (Activity Monitor shows Intel). I get the following error, which was the one that got when not running Xcode under Rosetta:

In x, building for iOS Simulator, but linking in object file built for iOS, file ‘’ for architecture arm64

I tried removing everything related to Xcode and installed it again with no luck. Is there any file or setting that I can change to make the project build correctly again?

Answered by DTS Engineer in 746187022

The error you are seeing is documented in Technote 3117. While there is a way for you to move forward, I want to underscore the suggestions in that Technote for communicating with your library vendor to get an updated version that properly supports Apple Silicon as the first thing you should do. Many libraries have updates available at this time.

That I know, as mentioned in my OP. That is not the issue though.

The error you are seeing is documented in Technote 3117. While there is a way for you to move forward, I want to underscore the suggestions in that Technote for communicating with your library vendor to get an updated version that properly supports Apple Silicon as the first thing you should do. Many libraries have updates available at this time.

Same here! After Installing XCode14.3beta (which does not support Rosetta), older Xcode-Version that do support Rosetta (e.g. Xcode 14.1, 14.2) do not work correctly anymore, even if the Activity Monitor says, that they are running in Rosetta-Mode ("Intel").

Deleting XCode14.3beta and redownloading XCode14.1/2 does not help either.

ERROR: ... building for iOS Simulator, but linking in object file built for iOS, file '/Users/***/ExternalLibs/Radaee/include/libRDPDFLibSDK.a' for architecture arm64

The error does not occur on other Macs with MacOS Ventura, as long as XCode14.3beta was not installed.

Configuration: MacBookPro, Chip: Apple M1 Pro, OS: MacOS Ventura 13.2.1, Xcode Version 14.1 or 14.2, Rosetta Checkbox activated

Same here also!

The response above from apple doesn't address the issue: After installing Xcode 14.3 beta, Xcode 14.2 can no longer build apps using rosetta.

Same here, I was almost a day trying to fix it but I couldn't find any solution

Same here, I was almost a day trying to fix it but I couldn't find any solution

I'm also experiencing this issue.

After installing Xcode 14.3 Beta 2 I cannot deploy/run my app to simulators using XCode 14.2, I encounter the same issues as OP.

"Fixing" the build issues may be a valid recourse in some cases, but I do not have the time to fix everything right now. I would expect the previous release version of Xcode (14.2) to function correctly as it did before installing Xcode 14.3 beta 2 but it is not.

Apple, please fix this!

I had to fresh install the macOS to fix this. I don’t know if the RC has any changes regarding that.

I have now found an option to compile with for Rosetta that works.

With Xcode 14.3 (RC 2) there is an option under Product - Destination - Destination Architectures -> Show Apple Silicon Destinations / Show Rosetta Destinations / Show Both

Selecting Rosetta or both destinations, you can choose a simulator with Rosetta and Xcode builds and works like previous versions under Rosetta, and I think in a better and faster way

Using Xcode 14.3 official release I was able to run under Rosetta. Open Xcode 14.3 -> Product -> Destination -> Destination Architectures -> Show Both -> Run simulator with Rosetta

We're observing a similar problem. After installing Xcode 14.3 on a machine, project compilation using Xcode 14.2 on the same machine no longer respects the "Open using Rosetta" checkbox. Uninstalling 14.3 and/or reinstalling 14.2 doesn't help; something shared in the underlying toolchain appears to have changed.

Previously when opening Xcode 14.2 using Rosetta, Swift packages in our project were correctly built for x86_64; they're now compiled for arm64. My best guess is that something has gone wonky in how arch-related parameters are passed to CompileSwift.

I managed to fixed this problem by using Time Machine backup to restore some file locations, given that you did created a backup before upgrade to Xcode 14.3.

/Library/Developer

/Library/Preferences/com.apple.dt.Xcode.plist

~/Library/Developer

~/Library/Preferences/com.apple.dt.Xcode.*

~/Library/Caches/com.apple.dt.Xcode.*

I got the solution from https://news.ycombinator.com/item?id=35079270

You can fix this issue by running the following steps.

  • Remove /Library/Developer
sudo rm -rf /Library/Developer
  • Download and install Xcode Command Line Tools for Xcode 14.2
https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_14.2/Command_Line_Tools_for_Xcode_14.2.dmg
  • Open Xcode 14.2 and let it install the renaming tools

life saver @fssilva 🫶

Xcode 14.2 no longer runs properly under rosetta after installing 14.3 beta
 
 
Q