cheers,
Stew
Hi Pete,
I tried using this url to close the simulator
http://localhost:8881/quit_simulator
but it doesn't work
Do you know what wrong with the URL?
Thank you,
Pat
On Jan 30 2011, 4:50 pm, Pete Hodgson <phodg...@thoughtworks.com>
wrote:
> Hi Folks,
>
> I finally got around to packaging up the little http app we use on my
> team to help Frank launch iOS apps in the simulator.
>
> The motivation for this was to avoid the fussiness of launching the
> app via Xcode automation commands - that required XCode to be running
> on the CI server, with the right project open, etc. It also prevented
> the CI server from being able to test multiple projects. This new
> approach works without XCode running, and allows launching arbitrary
> apps in the simulator. It even lets you specify whether you want to
> use the iPhone or iPad simulator, and which SDK version you want to
> use (great for running regression tests against both iPad 3.2 and 4.2,
> for example).
>
> I packaged the app up in a ruby gem, so installing it is as simple as
> "gem install sim_launcher". Once installed you launch the server using
> the included 'sim_launcher' script. This kicks off a little sinatra
> server running on port 8881 (by default, you can specify a port as an
> argument to the sim_launcher command).
>
> Once the sim_launcher server is running, you just send an http request
> to the appropriate url, specifying which sdk you want to use and the
> full path to your app bundle. For example:http://localhost:8881/launch_ipad_app?sdk=4.2&app_path=%2Ffull_path_t...