re: discovering the device via bonjour, check out my 'bonjour' branch in the main github repo.
The bonjour discovery itself wasn't flaky, but driving the app on the physical device itself via wifi seemed to be. Sometimes a command just wouldn't go through to the app. That said, I didn't spend much time at all looking into the cause.
Cheers,
Pete
--
Typed on a teeny tiny keyboard
I spent some time with the Xcode engineers in the labs at WWDC, and there is currently no way of installing and running the app on the device from the command line, and no plans to... so running on the device cannot be part of CI at the moment.
Derek.
For Xcode 4, ah, well, not so much luck unfortunately. Applescript support is somewhat limited in Xcode 4. I know the "debug" command isn't present as yet (Xcode 4.0.2). Also, if you pre-compile using the command line and open the project it does not automatically pick up the target that was built (I've got a project with five targets). Using System Events scripting you can issue the build and, I think, run commands, so if the correct target could be selected, then issuing those commands would, in theory, install and run the app on a connected device.
Regards
Mark Warren