Could not find Developer Disk Image iOS 10

天大地大妈咪最大 提交于 2019-12-03 13:10:17

问题


I have updated my iOS device to iOS 10, now Xcode says "Could not find Developer Disk Image" while trying to run on iPhone using Xcode 7.3.1 How can I fix the problem and make Xcode support iOS 10 devices?


回答1:


If you want to develop with Xcode 7 on your iOS10 device :

  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

Note : This works for Xcode 9 and above

Source

UPDATE 2018:
If you want to use Xcode 9 with iOS 12:

  1. Download Xcode 10 (still in beta right now)
  2. Put it in the Application folder as Xcode-beta.app
  3. Open the terminal and use the command below:

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0\ (16A5354b)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0




回答2:


As holex says installing Xcode 8 solves the problem




回答3:


You may try downloading a Developer Disk Image for the required iOS version, as of your mobile device; If you only want a quick and simple solution..

You need to goto:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneO‌​S.platform/DeviceSup‌​port/

and paste the Developer Disk Image you just manually downloaded.



来源:https://stackoverflow.com/questions/39576363/could-not-find-developer-disk-image-ios-10

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!