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.
A:
This topic will tell you how to do it manually, you should be able to automate the process as well:
Greg Martin
2009-07-30 16:40:01
thanks but that topic just explains how to copy an already-deployed-to-simulator project to another machine.
Teflon Ted
2009-07-30 18:32:47
Just create the mentioned .sb file programatically and copy your executable built for the simulator along with that file into the applications directory in the simulators folder in your Library.
Greg Martin
2009-08-03 03:15:36
+1
A:
It would appear that using the -sdk iphonesimulator3.0 flag with xcodebuild should generate the .sb files, but this doesn't seem to work. Maybe it's not possible ? Anybody have an answer ? Thanks.
John
2009-10-04 16:46:26
+2
A:
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.
apenwarr
2010-03-31 15:17:04
This isn't an answer to the question. No one will see your question here, so I suggest creating a new question that asks this and deleting this answer.
Brad Larson
2010-08-27 17:38:25