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.

Accepted Answer

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/

Same situation, you need Xcode 15 beta

But how can I update / publish app that is built with Xcode 14.3.1 on macOS Sonoma?

But how can I update / publish app that is built with Xcode 14.3.1 on macOS Sonoma?

You can’t, because it’s never safe to use pre-release stuff to build release stuff.

Share and Enjoy

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

同じ問題です。ダウンロードしようとするとアプリ入手不可能と表示され、この国地域ではまだ使いないようです。残念ですが正規版が発表されるまで開発はできません。

When I navigate to the site using the link above to update xcode 15 beta, I'm getting this file "Xcode_15_beta.xcdownloadmanifest". How do I xcode 15 beta install it?

Hi @bigdaddy1 @Wykee can you please to check to see that you've allowed multiple file downloads from a website in your browser setting? If you have not, please enable it and try downloading again?

i downloaded both iOS_17_beta_Simulator_Runtime.dmg and Xcode_15_beta.xcdownloadmanifest now what do i do? both are not running even if i click it

first uninstall xcode. then download xcode beta from website without choosing ios17 just download xcode beta don't choose anything After downloading the xcode beta, double click it will be created as an application in the downloads folder and move it to the applications folder then run it and you can download ios17 or other stuff.

You can still run it using Terminal open /Applications/Xcode.app/Contents/MacOS/Xcode

18

works on xcode 15 beta 2 👍

FYI:

I'm running Xcode 15.4 and .5 beta on Sonoma and it continually crashes when trying to add a file. I was initially able to add one SwiftUI file but when trying to add a second, it just keeps crashing. What's weird is that I can see the file there physically in the project folder outside of Xcode but it doesn't show up in the Navigator. If I delete the file in the project folder and try to add again, it repeats the same issue. File is physically present in project folder outside Xcode only.

When I was updating the OS, I wasn't paying close attention and didn't realize that it was installing Sonoma, so I screwed myself.

in xcode 15.0 beta 5 (15A5209g) i create new cocoa touch class it will crash xcode

Even on Sonoma RC Xcode 14.3.1 doesn't work!!! Next week it's plan to make Xcode work again with the official release?

Next week it's plan to make Xcode work again with the official release?

I wouldn’t expect that. Historically, new versions of macOS only support the version of Xcode that’s released with them. I recommend that you move forward to Xcode 15 but, if you can’t do that, you should stay on macOS 13.

IMPORTANT This will likely only help temporarily, at least if you’re targeting the App Store. Historically App Store has required new submissions to use the new SDK, and hence the new Xcode. For example, as of 25 Apr 2023 the App Store requires you to use Xcode 14.1. AFAIK they’ve not published any such requirements for Xcode 15, but I’d be very surprised if that didn’t happen at some point.

Share and Enjoy

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

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