@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.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: