diff --git a/detox/scripts/build_framework.ios.sh b/detox/scripts/build_framework.ios.sh index 676f149fd0..c5156b8181 100755 --- a/detox/scripts/build_framework.ios.sh +++ b/detox/scripts/build_framework.ios.sh @@ -1,7 +1,7 @@ #!/bin/bash -e -x # Ensure Xcode is installed or print a warning message and return. -xcodebuild -version &>/dev/null || (echo "WARNING: Xcode is not installed on this machine. Skipping iOS framework build phase" && exit 0) +xcodebuild -version &>/dev/null || { echo "WARNING: Xcode is not installed on this machine. Skipping iOS framework build phase"; exit 0; } detoxRootPath="$(dirname $(dirname ${0}))" detoxVersion=`node -p "require('${detoxRootPath}/package.json').version"`