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?
2
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/
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)
I did not try the solution above, but I had the exact same issue and as for me, all I needed to do is the following:
Go go to Devices and Simulators (CMD + Shift + 2) or by clicking Window and Devices and Simulator, find the device and right click to unpair it, and disconnect physically the device from your computer.
Then while unpaired, restart Xcode and connect the device back again.
And then it worked for me :). But I do believe a solution proposed by zeytin might be necessary if what helped me fails.