Reputation: 11580
I'm looking for a way to automate dev-test cycles for iOS and most popular ways seemed to be jailbreak then ssh. This includes two steps:
However, since iOS6 and iPhone5 the official jailbreaking had been flaky which made me want to find an alternative solution not based on jailbreak.
I've seen fruitstrap and this post.
However, the former is no longer maintained and the latter seems to be far from official or stable. So here I am again, any idea is appreciated!
Upvotes: 8
Views: 10523
Reputation: 3228
ios-deploy from PhoneGap is a fork of fruitstrap, so it may be something worth looking into.
Upvotes: 3
Reputation: 11580
Bill's link answered the "build and run" part of my question.
I'll answer the deploy part: The only working method I found was to use the ruby gem transporter_chief.rb over an IPA app:
./transporter_chief.rb my.ipa
http://gamua.com/blog/2012/03/how-to-deploy-ios-apps-to-the-iphone-via-the-command-line/
Upvotes: 1
Reputation: 3646
You can run instruments on the command line to launch your app (and run your automated tests) in the simulator. From what I understand this works with a real device as well.
See this question for more information:
UIAutomation through command line on a real device
Upvotes: 5