title: Best practice for setting up an automated build server for iphone apps?
body: <p>I'm looking to setup an automated nightly build server for our iphone apps, and looking for advice on what works and what doesn't.</p>
  
  <p>Basically, something that at least nightly runs all the unit tests and publishes a new adhoc build to our internal website.</p>
  
  <p>All the developers use laptops (which'll be off overnight), so I'm considering getting a dedicated Mac Mini to do this.</p>
  
  <p>I'm not sure if I should get standard Mac OS X or the server edition.</p>
  
  <p>At least for the first attempt, I'm considering just using a simple shell script run from a crontab to do the actual work. In the future a full continuous integration server (hudson etc) would be good.</p>
  
  <p>I've already found a few articles through searching, though they're quite brief:</p>
  
  <p><a href="http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson" rel="nofollow noreferrer">http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson</a></p>
  
  <p><a href="http://blog.jeffreyfredrick.com/2008/11/27/continuous-integration-for-iphonexcode-projects/" rel="nofollow noreferrer">http://blog.jeffreyfredrick.com/2008/11/27/continuous-integration-for-iphonexcode-projects/</a></p>
  
  <p>and also this stackoverflow question has some useful software info (though it's two years old now):</p>
  
  <p><a href="https://stackoverflow.com/questions/212999/continuous-integration-for-xcode-projects">Continuous Integration for Xcode projects?</a></p>
  
  <p>Any guidance people can give on how they've setup a build server and any potential issues would be greatly appreciated.</p>
  
  <p>Thanks!</p>
  
  <p>Joseph</p>