iPhone 在 Xcode 中工作时不断断开连接 [英] iPhone constantly disconnecting while working in Xcode
问题描述
我已经开发了一段时间的应用程序,我在设备上运行该应用程序时没有遇到任何问题..现在几天前,每当我连接 iPhone 时,它都会播放它的小ka-chink"声音并显示在 Xcode 中,但几秒钟后它断开连接并与另一个la-chink"重新连接,并一直这样做,直到我想把它扔出窗口.
I've been developing an app for a while and I haven't had any problems running the app on the device.. now a few days ago, whenever I connect the iPhone, it plays its little "ka-chink" sound and shows up in Xcode, but after a few seconds it disconnects and reconnects with another "la-chink" and keeps doing this until I want to throw it out of the window.
当然,在不断断开连接的情况下无法在设备上进行调试,所以我只是:
Of course, it's not possible to debug on the device with the constant disconnections, so I just:
- 连接设备
- 在设备上运行应用
- 应用崩溃
- 我移除了电缆
- 重新启动应用程序,它运行良好
我尝试了各种方法让手机再次正常工作,但到目前为止都无济于事..有人遇到过这种情况吗?有什么解决办法吗?
I've tried various thing to get the phone to work properly again but to no avail so far.. anybody experienced this? any solutions?
更新:电缆和连接器很好,没有硬件问题.
Update: cable and connector fine, no hardware trouble.
推荐答案
最终删除过期证书(当前已安装)解决了问题.
In the end removing expired certificates (current ones were already installed) solved the problem.
这篇关于iPhone 在 Xcode 中工作时不断断开连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!