From 5b89a249fe9d7cc45e00873dc8b1000ed5f431a2 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Wed, 1 May 2024 17:08:40 -0700 Subject: [PATCH] Delete crashy script code --- scripts/test.sh | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 1ac33ccae..8ff5fc72c 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -44,29 +44,6 @@ fi # Set have_secrets to true or false. source scripts/check_secrets.sh -# Get Xcode version -system=$(uname -s) -case "$system" in - Darwin) - xcode_version=$(xcodebuild -version | head -n 1) - xcode_version="${xcode_version/Xcode /}" - xcode_major="${xcode_version/.*/}" - ;; - *) - xcode_major="0" - ;; -esac - -# Check Xcode version when testing watchOS -if [[ "$TEST" == true && \ - "$OS" == watchOS && \ - "$xcode_major" -lt 13 && \ - "$xcode_version" != "12.5.1" && \ - "$xcode_version" != "12.5" ]]; then - echo "Xcode version does not yet supporting testing on watchOS" - exit 1 -fi - # Initialize flags flags=()