Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to Download iOS Simulator (Xcode) in Command Line and Install it

How to Download iOS Simulator (Xcode) in Command Line and Install it

For faster connection speed and more flexibility.


  1. Start Xcode in command line by running this in commandline /Applications/
  2. Start downloading of the simulator
  3. Cancel it. YES CANCEL IT!
  4. You will get a message like this: 2015-11-23 17:10:01.906 Xcode[30803:2505495] DVTDownloadable: Download Cancelled. Downloadable:
  5. Quit Xcode
  6. Use your favorite download tool with the link in that message in step 3
  • This is what I use: (5 concurrent connection) aria2c -x 5 link_to_the_file
  1. Have Fun!

Wait! How can I install this?

By moving the file to ~/Library/Caches/

  • You can use Finder by open ~/Library/Caches/
  • Or just mv file ~/Library/Caches/

And open the Downloads tab in Xcode's Preferences,

  • the progress bar of the item you just download should be 80% filled
  • you should be able to click that download button to install the file

Why did I need it?

I am in China right now and when downloading in Xcode(no concurrent downloading), the download speed sucks! I would like to use aria2 to speed up the downloading process of the simulator(s).

How slow was the connect using Xcode and how fast was it when using aria2?

  • Xcode: 150KB -> 300KB
  • aria2: 2.7MB (consistenly), which is the maximum downloading speed of my cable

Why aria2?

  • Concurrent connections
  • Resuming unfinished downloads



This comment has been minimized.

Copy link

@lakshyamunjal lakshyamunjal commented Jan 29, 2021

I am using xcode 12.4 and I can't find the downloads tab in preferences. I can't download the simulator using xcode because it is very slow, so I used aria2c but now I can't install it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment