It never takes too long, but I was wondering if anyone’s had some success with automating the build and/or device installation processes when working with Corona?
At the moment I have a series of steps I have to go through, and I’d like to automate one or more of them.
-
Select appropriate provisioning profile
-
Rename app (sometimes the source code is just in a folder named ‘src’ which isn’t that great for naming
-
Build
-
Uninstall old app from device
-
Copy app into iPhone Configuration Utility (which I guess just replaces the copy of the app in ~/Library/MobileDevice/Applications
-
Install new version on app
Ideally I’d like to have one command which perhaps reads from some config file in the project directory which does steps 1-6 for me. But I guess that won’t happen without some changes to Corona (though an NPM style package.json file would be really neat, in fact why not use build.settings?), surely though I ought to be able to automate 4-6, right? If 5 is as simple as I think, it’s trivial. I’m curious though whether I can push apps to the device from the command line.
So I was wondering, was anyone found any good tools for doing that, or any useful command line tools which might help? Ideally I’d like to use an existing workflow or process rather than write my own.