简体   繁体   English

运行 xCode 后失去与 iPhone 的连接 - 如何修复?

[英]after run xCode lost connection to iPhone - how fix it?

I have this devices: -macOS - monterey 12.4 -iPhone 7 - 15.5 -xCode 13.3.1我有这个设备:-macOS - monterey 12.4 -iPhone 7 - 15.5 -xCode 13.3.1

My user case:我的用户案例:

  1. I connect the iPhone to Mac, at finder I see my phone.我将 iPhone 连接到 Mac,在 finder 中我看到了我的手机。
  2. I running XCode, connection is lost, at finder I don't see my phone.我运行 XCode,连接丢失,在查找器中我看不到我的手机。
  3. Now I can't connect my phone.现在我无法连接我的手机。 Finder no longer sees it. Finder 不再看到它。 just need to restart my phone.只需要重新启动我的手机。

This happened after updating the phone(15.4->15.5), I also updated mac(to 12.4) and xCode(13.3.1 -> 13.4).这发生在更新手机(15.4->15.5)之后,我还更新了 mac(到 12.4)和 xCode(13.3.1 -> 13.4)。

what I tried:我尝试了什么:

  1. factory reset my phone恢复出厂设置我的手机
  2. reinstall xCode, remove 13.4, install 13.3.1重新安装 xCode,删除 13.4,安装 13.3.1

I can't roll back my iPhone to the old version because Apple no longer signs the old version firmware(15.4.1).我无法将我的 iPhone 回滚到旧版本,因为 Apple 不再签署旧版本固件 (15.4.1)。

I have already spent a lot of time, but the problem persisted.我已经花了很多时间,但问题仍然存在。 Any advice - I'll be very grateful.任何建议-我将不胜感激。

I solved this problem by changing the cable to my phone.我通过更换手机的电缆解决了这个问题。 The old cable worked with Finder but didn't work for XCode.旧电缆适用于 Finder,但不适用于 XCode。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM