iOS: Deploy and run app on device through command-line without jailbreaking
automation, build, deployment, ios, testing
Solution
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
Problem
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: - Deploy my app using command line from Mac/PC to the device. - Run the app on the device from Mac/PC command line. 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!