Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you deploy an iPhone app to the simulator from the command line?

I'm using xcodebuild from the command line to compile several variations of an iPhone app but I've not been able to figure out how to deploy those builds into the iPhone Simulator from the command line. Could somebody please enlighten me? Thank you.

like image 738
Teflon Ted Avatar asked Jul 30 '09 15:07

Teflon Ted


People also ask

How do I put apps on my iPhone simulator?

Install Apps on SimulatorsGo to Apps > Install Application. Find and open the app you want to install from your Mac. The app appears in the list of installed apps on the right side of the iOS Gateway window.

Which command is used to run the app on iOS simulator?

Launch command is used to launch a application in your simulator device.

How can I launch the iOS simulator from terminal?

Just type this command in Terminal: open -a Simulator. app to launch the most recent simulator. Type this command in Terminal to run the Simulator rigth from the its folder.


1 Answers

Get the open source "iphonesim" and it'll do it for you: http://github.com/jhaynie/iphonesim/

It's small and written in objective C, and it seems to work fine from the command line.

like image 114
apenwarr Avatar answered Sep 27 '22 18:09

apenwarr