Update the test script to work with Xcode 5