Rhodes
Rhodes

Reputation: 493

Is it possible to run iOS simulator on a Mac without Xcode installed?

There are a few questions relating to this topic but nothing quite the same when it comes down to the details:

We would like to use the iOS Simulator without installing the rest of XCode on a macbook. It is an in-house laptop, and will be used by employees, but not engineers.

We already know how to run applications on the simulator without the source code and compiling required, but it would be nice to be able to install a 100MB app and application support that can run our in-house distribution app as opposed to a 2.4GB XCode installation. Any ideas? Thanks.

Upvotes: 37

Views: 35106

Answers (4)

Sanchit Batra
Sanchit Batra

Reputation: 49

If you are using a Mac then the best way is to right-click the Xcode app in your finder applications folder and select Package Contents. Delete all folders except the 'Developer' folder and drag this 'Developer' folder out of Xcode. Now you will be able to access Simulator as well as Xcode Server Builder without the rest of Xcode through the launcher. After dragging the folder out of the contents of Xcode, you can safely delete Xcode.

Upvotes: 1

Gautam Arora
Gautam Arora

Reputation: 41

Simulators are not available as separate/stand alone downloads.

Upvotes: -1

hotpaw2
hotpaw2

Reputation: 70733

The Simulator app requires several other large directories from the Xcode distribution in order to work at all. The only official way to install all of those properly is to install the entire SDK from the dmg. Then you can experiment with deleting the hopefully "unneeded" directories. Be prepared to start over if you delete something that the Simulator requires.

Upvotes: 25

WrightsCS
WrightsCS

Reputation: 50727

You would have to extract the Simulator pkg from the Xcode DMG. The only thing is that the Simulator depends on having an SDK installed, that way it knows which iOS to run the app in.

Upvotes: 4

Related Questions