After spending annoying amount of time to figure this issue out, I was finally able to fix it for me.
This is stupid but, installing VisionOS runtime resolved the issue, for me.
This can be done in Xcode > Settings > Platforms
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: