bob
bob

Reputation: 2011

automatically build, deploy and test on iphone device

Is there way to build iphone app on the command line with xcodebuild, then automatically deploy the app to a USB-connected iphone device and run some unit testing on device?

Right now, I can do this under xCode with "Build and Run", but I'm looking for solution to do this outside of the xCode GUI environment.

Thanks

Upvotes: 10

Views: 3257

Answers (1)

hotpaw2
hotpaw2

Reputation: 70673

You can script Xcode using Applescript, and run Applescript scripts from the command line.

There more on how to script Xcode in this answer.

Upvotes: 3

Related Questions