iosxcodeios-simulatorsimulatorxcode-6.2

Download Xcode simulator directly


I have downloaded Xcode 6.2 today which replaced previous Xcode 6.1 now to use simulator 7.1 & 8.1 it asks to download both simulators , but for some reason after trying 4-5 times it shows network issues in downloading or request time out (note: in n/w diagnostic after it shows net is working properly)

so is there any direct link from where i can download the simulator package directly or somewhere at least it shows progress in percentage/size instead just a bar

if it's not possible i have read about copying the older simulator to new Xcode so how can i place the old simulator(7.1 & 8.1) in Xcode 6.2 that it works directly without downloading again


Solution

  • Clicking on Download in Xcode didn't do anything - the progress bar did not progress (does that make it a regress bar?).

    This is what worked for me:

    1. Open Xcode, open preferences, go to the Components section.

    2. Open the Console App, clear the console.

    3. Go back to the Xcode preferences. Start the simulator download, then cancel it.

    4. Now in the Console, you will see something about the cancellation with the download URL.

    5. Copy the URL from the Console. Then in Terminal in some suitable scratch folder, download it:

      curl [the url you copied] -O (the letter O, not a zero)

    6. Finally, copy this file to ~/Library/Caches/com.apple.dt.Xcode/Downloads
      Remove all *.dvtdownloadableindex files (maybe it doesn't matter, but I removed them).

    7. In Xcode, in the Downloads section, start the Simulator download again, it should find the file you downloaded and install it.

    How easy was that! Only 7 steps, hah!