Bandish Kumar
Bandish Kumar

Reputation: 2268

Xcode encountered Error : Internal logic error: Connection was invalidated error in Xcode 15

**

Internal logic error: Connection was invalidated Domain: com.apple.CoreDevice.ControlChannelConnectionError Code: 1 User Info: { DVTErrorCreationDateKey = "2023-10-09 07:50:50 +0000"; "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI; } -- Transport error Domain: com.apple.CoreDevice.ControlChannelConnectionError Code: 0 -- The connection was interrupted. Domain: com.apple.Mercury.error Code: 1000 User Info: { XPCConnectionDescription = "<RemoteXPCPeerConnection 0x600003ac1b80> { <remote connection: 0x6000025c0f00> { type = rsd, state = not-connected, remote service name = com.apple.internal.dt.coredevice.untrusted.tunnelservice, server mode = 0, protocol version number = 1, protocol feature flags = 0x6, local service version = 0, remote service version = 2, traffic class = 0, (root, reply) helo received = (1, 1), next msg id = 11, first msg id = 3, send in progress = 0, preexisting socket = -1 }"; } -- System Information macOS Version 14.0 (Build
23A344) Xcode 15.0 (22265) (Build 15A240d) Timestamp: 2023-10-09T13:20:50+05:30 *

**


Upvotes: 5

Views: 2209

Answers (2)

Mehdi Ijadnazar
Mehdi Ijadnazar

Reputation: 4991

Company VPN users

This could be due to your VPN software

If you are using a VPN software it might prevent your Mac and iPhone connection. This is mentioned in the post HERE

There reason for this I believe is, with your VPN connected, you would effectively be connected to a different network than your device is. Therefor, Xcode can't find it on the network it is connected to.

In my case I had to disconnect my VPN when I wanted to test something on my device.

Upvotes: 4

Dheeraj Verma
Dheeraj Verma

Reputation: 9

Just restart your Mac and the targeted device.

Upvotes: -1

Related Questions