Build & Archive Shell Script

I’ve worked out how to replicate Xcode’s Build & Archive command as a shell script, suitable for running from the command line (i.e. from a continuous integration server such as CruiseControl.rb)

Whilst it’s pretty hardcoded to my personal requirements, I’ve released it as a gist under the MIT Licence, so feel free to fork it and make improvements.

I hope it’s useful.