Xcode 7 with iOS 9 device Error: device unavailable (Could not find a developer disk image)

后端 未结 10 1738
南方客
南方客 2020-12-17 08:01

After updating my iPad to iOS 9 public beta, I am getting an error while trying the run the app in my iPad. When I select the iPad as destination, it says \"iPad (Unavailabl

相关标签:
10条回答
  • 2020-12-17 08:02

    I solve this problem by just simple xcode restart.

    0 讨论(0)
  • 2020-12-17 08:04

    I had already update to newest version Xcode (7.0.1) but still can't build on iPod touch 5 in iOS 9.1(13B143).After copy 9.1 (13B137) folder from my colleague to DeviceSupport folder in Xcode, it works! Not sure it would create some side effects.

    0 讨论(0)
  • 2020-12-17 08:10

    For me the problem was that I just needed to open my phone and click "Trust Computer"

    0 讨论(0)
  • 2020-12-17 08:13

    Update Xcode. If it not help: go to

    /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
    

    If you don't find there your device iOS version, you could try to copy last one and rename it to which one do you need, restart XCode and try to compile, it works for me.

    0 讨论(0)
  • 2020-12-17 08:15

    This is also encountered when trying to use Xcode 6.4 against an iOS 9.0.x device. Here's how you can workaround it and get Xcode 6.4 to recognize your iOS 9.0.x devices:

    1. Download Xcode 7.0.1:

    http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/Xcode_7.0.1/Xcode_7.0.1.dmg

    1. Open Xcode_7.0.1.dmg and drag the Xcode.app to your desktop

    2. Right-click, Show package contents, navigate into /Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

    3. Copy the "9.0 (13A340)" directory to the existing DeviceSupport directory for your Xcode 6.4 install. For example: ~/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

    4. Restart Xcode 6.4 (if it was running), and your device running iOS 9.0.x should now show as a recognized device.

    0 讨论(0)
  • 2020-12-17 08:21

    I had the same problem and all I had to do was to update my XCode to 7.1. After that it worked. Your Xcode has to be updated to the latest version.

    0 讨论(0)
提交回复
热议问题