→ Automate your environment with Xcoder

I’ve been using Rakefiles with my Xcode projects for over a year now. I really love that all the tasks I perform can be easily automated via a small Ruby method. For example, you can setup a rake task for running mogenerator: rake mogen

The biggest problem I’ve had is getting the xcodebuild command to work properly all the time. A few weeks ago, a coworker found this RubyGem that provides a nice interface to working with Xcode projects from the command line or Rakefile. It even allows you to run unit tests, manipulate the project, publish to TestFlight, and more.