According to the description of the Xcode 15 RC Download Page:
For development with the visionOS SDK, continue to use Xcode 15 beta 8.
It seems for the meantime while visionOS still is in Beta we need to use Xcode Beta as well.
Topic:
App & System Services
SubTopic:
Core OS
Tags: