I solved it by going into XCode 15.2
Settings -> Platforms
Remove the xrOS image that was still there and didn't mount anymore.
Install visionOS 1.0
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: