Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Target is not found, Please reconnect the device, Xcode:Device Support File

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?

like image 680
zeytin Avatar asked Nov 29 '22 07:11

zeytin


1 Answers

  • 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 enter image description here Step 2 enter image description here Step 3: enter image description here Step 4: Here is Device Support Files Folder enter image description here Step 5: Put here file here and restart the Xcode if it is open enter image description here


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)

like image 102
zeytin Avatar answered Dec 09 '22 16:12

zeytin