Exit with the same code as the xcodebuild