Builds kept failing on Travis-CI and in an attempt to fix this I migrated to XCTest. I had to perform the migration manually because the refactoring method of Xcode failed me. When this didn’t fix the build I found that an old version of xctool was the culprit.

This is how I changed my build file to force an update to xctool. The problem I was having had been fixed as of version 0.1.15 of xctool while Travis-CI had only 0.1.14 preinstalled on the build nodes. It might be a good idea to add such an update to each build script.

Thanks to Cédric Luthi for providing the idea to do brew update and upgrade in the before_install and install sections. Richard Lee deserves some of the credit too for being the first to respond to my question.

As an afterthought I also wanted to add my documentation completeness test which requires appledoc to be installed on build nodes. Unfortunately appledoc went missing when Travis-CI updated to Xcode 5.1. So this has to wait until the next release.