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 so开发者_运维问答lution to do this outside of the xCode GUI environment.
Thanks
You can script Xcode using Applescript, and run Applescript scripts from the command line.
There more on how to script Xcode in this answer.
精彩评论