I just upgraded my macOS to Sonoma and I couldn't use the Xcode on the app store with the OS so I had to download Xcode beta 15
The items below are required to start the review process: New apps and app updates must be built with the public (GM) versions of Xcode 11 or later, iOS, macOS, watchOS, and tvOS SDKs. Apps built with beta versions aren’t allowed.
This build is using a beta version of Xcode and can’t be submitted. Make sure you’re using the latest version of Xcode or the latest seed release found on the releases tab in News and Updates