Reduce Xcode noise #3 (#14663)
* Revert "Revert "Reduce xcodebuild noise #2" (#14641)"
This reverts commit 2d47481f1e48d744bcbd7d4b33ab9cc5ef2de8e1.
* Stop scrapping xcodebuild output, get the right build settings
* clone the command params first
diff --git a/packages/flutter_tools/bin/xcode_backend.sh b/packages/flutter_tools/bin/xcode_backend.sh
index 6f52669..fc1539a 100755
--- a/packages/flutter_tools/bin/xcode_backend.sh
+++ b/packages/flutter_tools/bin/xcode_backend.sh
@@ -4,7 +4,9 @@
# found in the LICENSE file.
RunCommand() {
- echo "♦ $*"
+ if [[ -n "$VERBOSE_SCRIPT_LOGGING" ]]; then
+ echo "♦ $*"
+ fi
"$@"
return $?
}