The current project I’m working on is a static library. Part of the application includes a set of Calabash acceptance tests and a rake script to launch them. This means my build and test script needs to know the location of the built product to launch.
When I first started this project back in the early days of Xcode 4, I decided to stick with the legacy build settings and use a build directory in the same location as the project.
Continue Reading »
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:
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.