Command line tool for build+install iOS apps

Originator:amorya
Number:rdar://10087266 Date Originated:
Status: Resolved:
Product: Product Version:
Classification: Reproducible:
 
07-Sep-2011 09:37 PM Amy Worrall:
I would like a command line tool, like xcodebuild, that can install a built product onto a USB-connected iOS device (that is enabled for development and appropriately provisioned). Essentially I want a command line way of doing what we currently do in Xcode for "Build & Install".

Use Case:
Our company is setting up a build server using Hudson. We'd like the server to have a bunch of USB-connected iOS devices (which will sit on docks on a shelf in one of our offices), all running different versions of iOS, and whenever the server does a build it will automatically install the app onto all of these devices. The idea is that we can at any time walk into that room and test the latest version of all of our apps, without having to worry about building or installing it manually.

Expected Result:
A command line tool, or an argument to xcodebuild, allows us to install the app onto devices without human interaction. 

Actual Result:
We are reduced to attempting to use AppleScript to control Xcode, to have it select the Build & Run menu item. Choosing which device to run on is difficult, and the broken AppleScript support in Xcode 4 is also getting in the way.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!