Support Open Radar and watch some of the best iOS talks of 2013. Join Renaissance IO.

Need scriptable way to install iOS apps on local device for automated testing

Originator:ewmailing
Number:rdar://8739857 Date Originated:2010-12-07
Status:Open Resolved:
Product:iOS SDK Product Version:
Classification:Feature Request Reproducible:
 
Summary:
We need a scriptable way to install iOS apps on local device for automated testing.

We build a whole bunch of things on a Mac Mini server and we would like to copy those apps onto an iPhone/iPod/iPad and run through a unit test suite we developed.

Right now, we don't have a good way of automating this.

One solution would be to have a command line interface.

We would also be willing to settle for a ScriptingBridge way.

I'm experimenting with ScriptingBridge to tell Xcode to install and run these things. So far, the best I've been able to do is have an Xcode project call debug on an active executable which launches the app on the device. This isn't bad, but we were hoping we could do better. 

One problem is that the apps we are running are already prebuilt and don't necessarily have a Xcode project immediately on hand to open. We were hoping we might be able to forgo the opening of the Xcode project, and instead just install an app via the Xcode Organizer or something since we already have built the apps. But I can't find anything in the ScriptingBridge dictionary about Xcode Organizer.

Comments

There is a way

We use fruitstrap here at realestate.com.au.

http://www.stewgleadow.com/blog/2011/11/05/installing-ios-apps-on-the-device-from-the-command-line/


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!