Added exit status for xcodebuild