OGeek|极客世界-中国程序员成长平台

标题: ios - 失去与 iPad 的连接 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 07:06
标题: ios - 失去与 iPad 的连接

当我在 Xcode 6.0.1 中第一次在 iPad 上运行我的 iOS 应用程序时,我收到以下错误消息:

Lost connection to "iPad 2". Restore the connection to "iPad 2" and run "App Name” again, or if "App Name" is still > > running, you can attach to it by selecting Debug > Attach to Process > App Name.

我应该怎么做才能解决这个问题?



Best Answer-推荐答案


试试看。

当您在 XCode 中打开 2 个要同时调试的项目时,就会发生这种情况。

重现问题:

在 i(whatever)(iPad or iPhone) 设备上启动调试程序。

转到另一个(依赖项)项目并选择调试 -> 附加到进程 -> 进程在 1 处启动。

为避免此问题:

直接从设备启动主进程 进入依赖项目,选择Debug -> attach to process -> process launch at 1.

同样的问题在这里用同样的答案解决。 Lost connection to “iPad 2”

关于ios - 失去与 iPad 的连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30205802/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4