views:

503

answers:

3

I would like to find a way to compile and package our iPhone application as part of our automated nightly build. At present we always have to manually kick off a build on a shared Mac that has the adhoc certificates installed on the box and then post the resulting test binaries some place where testers can pull them down and install them.

Has anyone found an approach to automation that works for them?

+8  A: 

There's a command line tool to build Xcode projects: xcodebuild

Nikolai Ruhe
+2  A: 

Try using xcodebuild, it'll build an Xcode project from the command line. You can then pull the binaries out of the build directory.

Daniel
+2  A: 

I wrote an XCodeBuilder (it calls xcodebuild) for CruiseControl that is now part of the standard release. We used this on an app that is now in the app store and it was great. After every commit a version of the app w/the ad-hoc signature was ready for download and testing by the rest of the team.

Jeffrey Fredrick