Mac OS X Lion - Xcode components simulator location

7

3

When we downloaded Xcode 4.5.1, to test applications in older simulators we installed it from Settings->Downloads->Components

Now there is Xcode 4.5.2 available. Again we need to download simulators for that Xcode ? or is there any location where those simulators stored similar to Documentation.

In 2nd image below we can see location for documentation but in 1st image selecting simulator doesn't show any location of installation.

Any idea ?

EDIT

Now there is Xcode 5 available. Again we need to download simulators for that Xcode ? or is there any location where those simulators stored similar to Documentation.

enter image description here

enter image description here

Janak Nirmal

Posted 2012-11-02T09:54:30.710

Reputation: 123

Answers

1

In XCode5 the simulators are downloaded in a temporary folder download-and-install-cache-dstroot:

/private/var/folders/mb/yf1qy9bx7wg5dl01lzkvbytm0000gp/T/download-D39FB382-2540-4F2E-B8EC-6940A468CEAE-7723-000031655DACE7B0/download-and-install-cache-dstroot/Xcode.SDK.iPhoneSimulator.6.1-6.1.dmg

And I bet the simulator is linked to the compiler in a way that you need a new iOS6 simulator even if you had one for XCode 4.5.1.

Use Munki and Reposado to roll your own if you want to save downloading for each Mac.

bbaassssiiee

Posted 2012-11-02T09:54:30.710

Reputation: 1 225

Thax I got it. Awarded bounty. One more question, can we do something like I have already download .dmg file of simulator and just place that somewhere that folder where it download and than Xcode continues installing ? – Janak Nirmal – 2013-10-07T05:53:54.833

3

The download location changes every time you start the download.

find /private/var -name Xcode.SDK.iPhoneSim*

will reveal the download directory.

The download is restarted every time you click "Install", that is, any previous download is discarded (what a waste with 600 MB+ file size).

Although the downloaded file is a DMG, I still don't know how to copy from one machine to another to prevent downloading.

Helioz

Posted 2012-11-02T09:54:30.710

Reputation: 31

When I run this command in Terminal it says permission denied. Any idea ? – Janak Nirmal – 2012-12-14T04:18:24.677

Any idea, I am still wondering about this error of permission denied. – Janak Nirmal – 2013-01-11T05:21:29.173

2

The location of dmg file downloaded by Xcode is placed here.

~/Library/Caches/com.apple.dt.Xcode/Downloads

Dharmesh Vaghani

Posted 2012-11-02T09:54:30.710

Reputation: 121