“Could not find Developer Disk Image”

后端 未结 9 1186
感动是毒
感动是毒 2020-12-02 17:59

Recently I\'ve been getting the error: \"Could not find Developer Disk Image\"

I think this happens since I have updated iOS to 9.1 on the iPhone. How can I fix the

相关标签:
9条回答
  • 2020-12-02 18:28

    If you want to develop with Xcode 7 on your iOS10 device :
    (Note: you can adapt this command to other Xcode and iOS versions)

    1. Rename your Xcode.app to Xcode7.app and download Xcode 8 from the app store.
    2. Run Xcode 8 once to install it.
    3. Open the terminal and create a symbolic link from Xcode 8 Developer Disk Image 10.0 to Xcode 8 Developer Disk Image folder using this command:

      ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A345\)/ /Applications/Xcode7.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0
      

    Source

    0 讨论(0)
  • 2020-12-02 18:29

    I am facing the same issue on Xcode 7.3 and my device version is iOS 10.

    This error is shown when your Xcode is old and the related device you are using is updated to latest version. First of all, install the latest Xcode version.

    We can solve this issue by following the below steps:-

    • Open Finder select Applications
    • Right click on Xcode 8, select "Show Package Contents", "Contents", "Developer", "Platforms", "iPhoneOS.Platform", "Device Support"
    • Copy the 10.0 folder (or above for later version).
    • Back in Finder select Applications again
    • Right click on Xcode 7.3, select "Show Package Contents", "Contents", "Developer", "Platforms", "iPhoneOS.Platform", "Device Support"
    • Paste the 10.0 folder

    If everything worked properly, your Xcode has a new developer disk image. Close the finder now, and quit your Xcode. Open your Xcode and the error will be gone. Now you can connect your latest device to old Xcode versions.

    Thanks

    0 讨论(0)
  • 2020-12-02 18:29

    Simply updated Xcode. Solved my problem

    0 讨论(0)
  • 2020-12-02 18:34

    To run the project to latest devices from the older versions of Xcode, follow the following steps :

    Go To Finder -> Applications -> Right Click on latest Xcode version -> select show package content -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport -> Copy the latest version folder and paste at the same location of your old Xcode i.e in the DeviceSupport folder of your old Xcode.

    Then Restart Xcode.

    0 讨论(0)
  • 2020-12-02 18:37

    1) I have experienced same issue, my Xcode version was 7.0.1, and I updated my iPhone to version 9.2, then upon using Xcode, my iPhone was shown in the section of unavailable device. Just like in image below:

    2) But then I somehow managed to select my iPhone by clicking at
    Product -> Destination -> Unavailable Device

    3) But that didn't solved my problem, and it started showing:

    Could not find Developer Disk Image

    Solution) Then finally I downloaded latest version of Xcode version 7.2 from here and everything has worked fine for me.

    Update: Whenever version of iPhone device is higher than version of Xcode, you may experience same issue, so you should update your Xcode version to remove this error.

    0 讨论(0)
  • 2020-12-02 18:42

    This solution works only if you create in Xcode 7 the directory "10.0" and you have a mistake in your sentence:

    ln -s /Applications/Xcode_8.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0 \(14A345\) /Applications/Xcode_7.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0
    
    0 讨论(0)
提交回复
热议问题