Xcode not working on macOS Sonoma

Whenever I try to open Xcode it gives me an error. I have Xcode on the latest version available on the App Store.

Answered by robnotyou in 754805022

As you have seen, Xcode 14.3.1 will not work with Sonoma.
You will need to use the Xcode 15 beta, which can be downloaded from the Apple Developer website.

https://developer.apple.com/download/applications/

Yes, but why??? I'd actually like to know a sound technical reason why Xcode 14.3.1 should not be able to run under Sonoma.

Many developers work at places where a specific version of Xcode is required for development and release pipelines and this "historical" practice prevents them from moving forward to new versions of macOS.

Or is Apple signaling that this is a "best practice" and that we too should cripple our older applications such that a new version is required whenever a user upgrades their OS?

@hmlong not sure what technical reasons lays within, but actually Xcode 14.3.1 is able to work on Sonoma. Just launch it from package contents Contents/MacOS/Xcode.

hmlong wrote:

Yes, but why?

Because we don’t qualify it on that release.

As Chugunomi noted, it’s possible to get it to launch. However, it hasn’t been tested, and thus it’s not supported. I recommend that you stay on the supported path because, once you stray from that path, every time you hit a problem you can’t tell whether that problem is caused by your unsupported configuration. See this post for a deeper discussion of this general topic.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I'd be happy to migrate to Xcode 15, but my code doesn't link with Xcode 15, while it works perfectly with Xcode 14.3

During Xcode 15 beta, the same code caused Internal Compiler Error in Xcode, which was fixed until RC and final release, but now it fails with this weird message we currently don't know how to fix (any help would be appreciated).

Fun story is xcode 14 worked on Sonoma for me until I removed it and installed xCode 15 on Sonoma and tried to downgrade. So upgrade process to Sonoma let me have 14 but after that no go.

dodoent wrote:

I'd be happy to migrate to Xcode 15, but my code doesn't link with Xcode 15

Now that’s something I can help you with. Please start a new thread with the details. Tag it with Linker so that I see it.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Now that’s something I can help you with. Please start a new thread with the details. Tag it with Linker so that I see it

I did as you asked: https://developer.apple.com/forums/thread/740267

One of the working solution for running Xcode 14 on Sonoma https://developer.apple.com/forums/thread/734709

Xcode not working on macOS Sonoma
 
 
Q