You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Xcode 15连接AnyConnect VPN时无法识别iPad(iPadOS 17.0.3)报错

连接AnyConnect VPN(Cisco Secure Client)时,Xcode 15无法识别已连接的iPad(iPadOS 17.0.3)

Xcode无法识别iPad的错误界面

内部逻辑错误:连接已失效
Domain: com.apple.CoreDevice.ControlChannelConnectionError
Code: 1
用户信息:{ DVTErrorCreationDateKey = "2023-10-09 07:50:50 +0000"; "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI; }
-- 传输错误
Domain: com.apple.CoreDevice.ControlChannelConnectionError
Code: 0
-- 连接已中断。
Domain: com.apple.Mercury.error
Code: 1000
用户信息:{ 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 }"; }
-- 系统信息
macOS版本14.0(编译版本23A344)
Xcode 15.0(22265)(编译版本15A240d)
时间戳:2023-10-09T13:20:50+05:30

可行解决方案

  • 配置VPN流量例外:在Cisco Secure Client设置中,将Xcode主程序(/Applications/Xcode.app)及CoreDevice相关进程加入VPN拦截例外,避免阻断Xcode与iPad的通信链路。
  • 重置设备连接服务:
    1. 断开iPad与Mac的连接,关闭Xcode
    2. 打开终端执行以下命令重置服务:
      sudo pkill -9 coredeviceagent
      sudo pkill -9 dvtdeviceassistant
      
    3. 重新连接iPad并启动Xcode
  • 调整VPN路由规则:检查AnyConnect的路由配置,确保本地USB设备通信的子网不被VPN接管,保留本地设备的通信权限。
  • 更新软件版本:升级Xcode到最新补丁版、iPadOS到最新系统,或是更新Cisco Secure Client至兼容版本,修复已知的兼容性Bug。
  • 临时断开VPN:若以上方法无效,可在调试开发时临时关闭VPN,待Xcode识别iPad后再重新连接VPN。

内容的提问来源于stack exchange,提问作者Bandish Kumar

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.09 02:15:25