我在通过 Cisco Anyconnect 连接的公司代理后面工作。当我未连接到 VPN 时,XCode 15 确实可以识别通过电缆连接的物理 iPhone。当我切换到 VPN 时,XCode 就失去了连接。当我进入公司网络时,XCode 似乎仅尝试通过 Wifi 进行连接。这很奇怪,因为查找器通过电缆识别设备,即使没有 VPN 连接,它也能正常工作。
在“管理运行目的地”下,我发现我的 iPhone 出现以下消息:
Internal logic error: Connection was invalidated
Domain: com.apple.CoreDevice.ControlChannelConnectionError
Code: 1
User Info: {
DVTErrorCreationDateKey = "2023-09-28 08:17:11 +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 0x600002c8eda0> { <remote connection: 0x6000033b7200> { type = rsd, state = not-connected, remote service name = …Run Code Online (Sandbox Code Playgroud)