找不到目标,请重新连接设备,Xcode:设备支持文件 [英] Target is not found, Please reconnect the device, Xcode:Device Support File
问题描述
升级Xcode后,我无法在Xcode上运行iPhone.
我的等待等待的Xcode最终给出了这样的错误,它卡住了.即使我拔下USB电缆并删除派生数据,也没有任何改变.
我在将Xcode升级到12.0 12.1和12.2时遇到了同样的问题.有什么遗漏吗?我该怎么办才能解决这个问题?
-
转到我的Github存储库以获取 14.2 第2步第三步:步骤4:这是设备支持文件文件夹步骤5:将文件放在此处,如果Xcode已打开,则重新启动它
最后,以防删除衍生数据是个好主意,请同时按以下四个键:
命令+选项+ Shift + K (删除派生数据快捷方式)
After upgrading Xcode I can not run my iPhone on the Xcode.
My Xcode waiting and waiting finally give an error like that and it stuck. Even though I unplugged the USB cable and delete derived data nothing changed.
I faced the same problem with upgrade Xcode to 12.0 12.1 and 12.2. Is there anything missing? What should I do to solve this issue?
解决方案Go to my Github repo for 14.2 click here to download the iOS 14.2 file or for 14.3 here 14.3
Unzip ,copy and paste the file which you downloaded from repo to this path :
Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
- Restart the Xcode
That's all. You can build and go on your project.
Any comment for feedback will be appreciated :)
Visually solution :
Step 1 : Right Click Xcode and show package contents then follow the pictures below Step 2 Step 3: Step 4: Here is Device Support Files Folder Step 5: Put here file here and restart the Xcode if it is open
Finally, Just in case it is a good idea delete derived data, press at the same time 4 keys like:
command + option + Shift + K (delete derived data shortcut)
这篇关于找不到目标,请重新连接设备,Xcode:设备支持文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!