Alex Zavatone
Alex Zavatone

Reputation: 4323

Is it possible to build from one Mac and launch the Simulator on another?

I've got two Macs and when doing iPad dev, it interests me if it's possible to have another Mac launch the Simulator and load the app after a build is completed.

Would be nice to have an iPad app running in the Simulator on one Mac's screen and Xcode and all the editing being done in another.

I don't expect that this is even remotely possible, or worthwhile, but simply understanding why it would or wouldn't be possible would be worthwhile.

Upvotes: 0

Views: 429

Answers (2)

iHunter
iHunter

Reputation: 6205

Indeed that is possible!

You can simply transfer your app to ~/Library/Application Support/iPhone Simulator/6.1/Applications directory, reload the simulator, and it will magically appear as installed!

Or I believe, you can just run your app using a tool like ios-sim without copying it to simulator folder.

Upvotes: 1

Simon Germain
Simon Germain

Reputation: 6844

I really don't think this is possible. I know that Xcode 5 has some CI action going on but I don't think you can target the iOS simulator with it. I know it can run unit tests on attached devices (not the simulator, an actual device) and it can archive your applications for distribution. Not sure about running it on a separate machine.

You can always copy your code to your second mac and run Xcode from it to run the app in the simulator, that's pretty much the only way I can think of.

Upvotes: 2

Related Questions