skip to Main Content

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


  1. Chosen as BEST ANSWER

    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)


  2. 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.

    Xcode Unpair Device

    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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search