Xcode 12:无法启动远程服务“com.apple.debugserver";在 iOS 设备上 [英] Xcode 12: Failed to start remote service "com.apple.debugserver" on iOS device
本文介绍了Xcode 12:无法启动远程服务“com.apple.debugserver";在 iOS 设备上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将我的 Xcode 更新为 Version 12.4 (12D4e)
,之后我无法在我的设备上运行我的应用程序iPhone X iOS 14.4.2
.
I updated my Xcode to Version 12.4 (12D4e)
and after that I am unable to run my app on my device
iPhone X iOS 14.4.2
.
清除
DerivedData
文件夹.
取消配对设备并重新连接.
Unpair device and connected again.
喝了 20 多杯咖啡.
Drank 20+ coffees.
推荐答案
我能够修复上述 Xcode 12 应用程序安装/部署问题:
I was able to fix the Xcode 12 app install/deployment issue described above:
Failed to start remote service "com.apple.debugserver" on device.
Domain: com.apple.dtdevicekit
Code: 811
Recovery Suggestion: Please check your connection to your device.
User Info: {
DVTRadarComponentKey = 261622;
}
...
通过执行以下步骤:
- 退出 Xcode.
- 删除 Xcode 缓存目录(即
rm -rf ~/Library/Caches/com.apple.dt.Xcode
). - 重新启动有问题的 iOS 设备.
- 通过电缆(而不是无线网络连接)将 iOS 设备连接到 Xcode.
- 再次启动 Xcode
顺便说一下,我的设置与您的非常接近:
By the way, I've a setup very close to yours:
- Xcode 12.5(内部版本 12E262) 和
- iOS 14.5.1(在 iPhone Xʀ 设备上)
- Xcode 12.5 (build 12E262) and
- iOS 14.5.1 (on a iPhone Xʀ device)
这篇关于Xcode 12:无法启动远程服务“com.apple.debugserver";在 iOS 设备上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文