7

Now I have an app based on Xcode 7.3.1 which runs fine. But one problem happened when I want to install the app to an iOS 10 device. It is said "Could not find Developer Disk Image". So I find a solution which is this: https://danielemargutti.com/solve-xcodes-could-not-find-developer-disk-image-error-how-to-run-projects-in-ios-10-device-using-xcode-7/

However, there is no 10.0 folder in the "/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport". So I found an easy way (looks like) to install both version of 7.3.1 and 8 which is this: https://www.quora.com/What-is-the-best-advice-to-install-Xcode-8-beta-alongside-Xcode-Version-7-3-1

The question is how can I only download the 10.0 folder rather than install Xcode 8 and make a link or copy/paste into Xcode 7.3.1? Thanks in advance of any other solutions.

Rajan Maheshwari
  • 14,465
  • 6
  • 64
  • 98
user6702783
  • 223
  • 4
  • 14
  • I think you would be better off to simply migrate to XCode 8. Hacking Codes to do this sort of thing might work for a bit, but it's unreliable and probably more time consuming than upgrading. – drekka Oct 05 '16 at 03:09
  • I know. But I need the files to support iOS 10. How can I receive that? – user6702783 Oct 05 '16 at 03:18
  • What files are you talking about. XCode 8 can quite easily read XCode 7 projects. Also notice you are using a beta. IS that 7 or 8. Best thing to do is to delete all betas and XCodes and download a fresh install from the app store. – drekka Oct 05 '16 at 03:57
  • @drekka the user is talking about the developer disk image files needed in Xcode 7.x versions in order to run the debug build in iOS 10 devices from Xcode 7.x versions. There are problems when we just go to Xcode and even migrate to 2.3 version. Some projects are on the release and some developers don't want the upgradation as it will be time and cost consuming both. – Rajan Maheshwari Oct 05 '16 at 04:07
  • This is where you need to be careful when choosing 3rd party APIs that are built in Swift. If the authors have not already upgraded to the latest Swift version or are not intending to, you get hung out to dry. I've upgraded several projects without too may issues. Normally it only takes an hour or two of work to fix any compiler issues. Most of the Swift APIs I use have already upgraded or are working on Swift 3 in branches. Essentially if a developer doesn't want to do the update, I would be dropping their API asap. – drekka Oct 05 '16 at 05:05
  • @drekka Again depends on the size and complexity of the project. Not every project is convertible in 1 or 2 hours. Yes, there are some third party dependencies. Also sometimes user needs to support some old versions for ex iOS 8 which alamofire 4.0 will not and user have to keep the minimum deployment as 9.0. Some corporate contract problems like the support for iOS 8 mentioned in the contract. There can be n number of reasons. But yes, I do support your statement to be updated every time with latest syntax. – Rajan Maheshwari Oct 05 '16 at 05:13

3 Answers3

44

I have that uploaded on Dropbox

iOS 10.0
here

iOS 10.1
here

iOS 10.2
here

iOS 10.3
here

iOS 11.0
here

iOS 11.1
here

iOS 11.2
here

iOS 11.3
here

iOS 11.4
here

iOS 12.0
here

iOS 12.1
here

iOS 12.2
here

iOS 13.0
here

iOS 13.1
here

iOS 13.5
here

iOS 13.6
here

NOTE: Swift 2.3 support is not available from Xcode 8.3 + versions

Go to your Applications -> Xcode 7.x version.
Right Click it and click on Show Package Contents and navigate to the path below :-

/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

And paste the unzipped folder (iOS 10.0) at the path mentioned above. It will look like this.

enter image description here

In the Device Support Folder for Xcode 7.3.1 version you currently will be having folders upto 9.3 only. Simply paste this iOS 10 folder there.

Finally, Quit and Restart your Xcode and plug in your iOS 10 Device.

Rajan Maheshwari
  • 14,465
  • 6
  • 64
  • 98
1

Open Finder and from its Top menu click on "Go" and then click on "Go to Folder..."

You'll see one prompt and there paste this below line there,

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
  • You'll be redirected to "DeviceSupport" folder.
  • Now, Download folder from below link and unzipped it

https://drive.google.com/file/d/0B_9nnatiB3jRaElIeDQzWXNzeEU/view?usp=sharing

  • Copy and Paste that folder in "DeviceSupport" folder.
  • Restart XCode and enjoy :)
iAnkit
  • 1,940
  • 19
  • 25
  • Please do not copy other's answer – jeet.chanchawat Oct 05 '16 at 05:16
  • @iAnkit I think by copy he meant that the answer you posted has same contents which I already posted before. Nothing is new except the file storage cloud. Yours drive, mines dropbox. :-) – Rajan Maheshwari Oct 05 '16 at 08:41
  • I have posted answer in different way, ultimately, goal is same. If I have copied same content then you can say that It is copied. – iAnkit Oct 05 '16 at 12:26
  • @iAnkit Your answer still has bugs. Reason is the path you posted. Not every user has that same path /Applications/Xcode.app/Contents/... because there might be different versions of Xcode installed (5.x,6.x,7.x) and you assumed that there is only a single xcode with the name as Xcode.app. It can be any other version like Xcode 7.x or Xcode copy or anything. So the path you posted may fail for some users and they might be redirected to the version of Xcode in which they don't want to install the iOS 10 developer image. – Rajan Maheshwari Oct 06 '16 at 02:29
  • Well, In that case you are supposed to edit the existing answer, Instead of posting a new answer. – jeet.chanchawat Oct 06 '16 at 05:17
1

You can download iOS 11 official developer disk image from here

Unzip & Paste it in

Applications > Right Click on Xcode > Show Package Contents and follow the below directories and restart your XCode.

/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

ak_ninan
  • 721
  • 7
  • 15