XCode can't connect to Vision Pro - connection invalidated
I'm trying to run my app on Vision Pro. It worked flawlessly one day, but XCode can't even connect to the device the next day.
The error message usually says "internal logic error" or "connection invalidated by peer" or "connection tunnel could not be created".
I'm able to connect to my Mac as a remote device, screen mirroring etc works. But it's only Xcode that's unable to keep the connection alive.\
Developer mode is on. I have been able to test just yesterday. Not sure what changed over night?
Apple Vision Pro