Installing more simulators for xcode 4.2 without re-downloading everytime

If you are like me, who use more than one machine to develop iOS app and wants to install 4.x and 3.x simulator without re-downloading it on every machine? then I’ve got a solution.

This is how I setup my installation - a 2 step process.

1. Find the .dmg files which is downloaded by XCode 4.2 and download it seperately.
2. Spoof your hosts file of the machine to point the files you have downloaded already.

Direct download link for 4.3
Direct download link for 3.x

Step 1:

By inspecting the I was able to figure out the URL of .dmg xcode trying to download.

Eg. The path for 4x simulator is iphone_4.3_iphonesimulatorsdk4_3.dmg

which resolves into path=Developer_Tools/ios_simulator/iphone_4.3_iphonesimulatorsdk4_3.dmg

Now, Open the xcode and select more simulators from the menu.

click install on any of the available option to keep the session validated against your developer acccount.

Once it started to download the file after authentication, just stop it.

Step 2:

Place your downloaded .dmg in


Start apache on port 80 and update /private/etc/hosts to have

#xcode4.2 legacy simulators dmg proxy  

Switch to xcode and click install again to install the simulator from your local machine without re-downloading.


Installing .dmg individually doesn’t seem to install properly atleast in my case (While installing xcode, I’ve used different directory instead of typical /Developer)

Post Comment