diff --git a/scripts/build.sh b/scripts/build.sh index 61470f453b7..87962bcb9d3 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -112,7 +112,7 @@ function RunXcodebuild() { xcpretty_cmd=(xcpretty) result=0 - xcodebuild "$@" | tee xcodebuild.log | "${xcpretty_cmd[@]}" || result=$? + xcodebuild "$@" | tee xcodebuild.log || result=$? if [[ $result == 65 ]]; then ExportLogs "$@" @@ -121,7 +121,7 @@ function RunXcodebuild() { sleep 5 result=0 - xcodebuild "$@" | tee xcodebuild.log | "${xcpretty_cmd[@]}" || result=$? + xcodebuild "$@" | tee xcodebuild.log || result=$? fi if [[ $result != 0 ]]; then