tags:

views:

1146

answers:

3

as title, is there any terminal command can use to achieve this? i know xcodebuild install -configuration can compile our xcodeproj from terminal without lauching from xcode however the compilation files are under iphoneos but not in the iphone simulator, I'm hoping one of you smart-folk can help me out

+4  A: 

Hey, i found out that you can do it with:

xcodebuild -configuration Release -sdk iphonesimulator2.2

This makes a simulator build with version 2.2 ( you can use xcodebuild -showsdks to list what u have avail ). I'm stuck with a problem of trying to get it to launch on the phone. xcodebuild -install doesn't seem to do anything for me :S Any assistance?

DavidG
A: 

Please see the following github project (search for iphonesim)

This will allow you to launch the iphone simulator from the command line.

(Sorry, it won't seem to let me post a valid URL in this answer)

A: 

Anyone know how to force the build to install the app onto the connected hardware (similiar to the build and go command in GUI xcode?)

mork
Please ask this as its own separate question
fbrereto