"An error occurred while communicating with a remote process."

I've suddenly stopped being able to deploy from Xcode to my Vision Pro. In devices, the Vision Pro says "An error occurred while communicating with a remote process."

The details of that error are:

An error occurred while communicating with a remote process.
Domain: com.apple.dt.CoreDeviceError
Code: 3
Failure Reason: The connection was invalidated.
User Info: {
    DVTErrorCreationDateKey = "2023-08-30 00:47:37 +0000";
    "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI;
}
--
The connection was invalidated.
Domain: com.apple.Mercury.error
Code: 1001
User Info: {
    XPCConnectionDescription = "<SystemXPCPeerConnection 0x600003cc6ee0> { <connection: 0x600000bc4000> { name = com.apple.CoreDevice.CoreDeviceService, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 } }";
}
--


System Information

macOS Version 13.5.1 (Build 22G90)
Xcode 15.0 (22181.22) (Build 15A5161b)
Timestamp: 2023-08-29T17:47:37-07:00

I think this error coincided with updating my mac to 13.5.1, but I don't know if that was the cause or a coincidence.

I've tried restarting both the VP and my Mac, and unpairing and repairing them to no avail. I also can't try updating the VP's software or the version of Xcode because only this specific combination will work with the tools we're using.

Any suggestions?

Hi where you able to solve this issue

Are you, by any chance, using an Intel-based Mac? If so, this might be relevant to you:

https://developer.apple.com/forums/thread/739277

I'm somewhat surprised that you already have access to the actual hardware. But, anyway, the message they posted was not really related to a simulator, but to VisionOS dev in general...

I'm actually facing the same error for regular iOS device. Using Xcode 15.2, iPhone 14 Pro Max (17.3.1) wired via cable.

@rnkyr88 Can you specify what exactly did you disable from firewall?

"An error occurred while communicating with a remote process."
 
 
Q