Skip to content

Commit 5b89a24

Browse files
committed
Delete crashy script code
1 parent a0caca5 commit 5b89a24

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

scripts/test.sh

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -44,29 +44,6 @@ fi
4444
# Set have_secrets to true or false.
4545
source scripts/check_secrets.sh
4646

47-
# Get Xcode version
48-
system=$(uname -s)
49-
case "$system" in
50-
Darwin)
51-
xcode_version=$(xcodebuild -version | head -n 1)
52-
xcode_version="${xcode_version/Xcode /}"
53-
xcode_major="${xcode_version/.*/}"
54-
;;
55-
*)
56-
xcode_major="0"
57-
;;
58-
esac
59-
60-
# Check Xcode version when testing watchOS
61-
if [[ "$TEST" == true && \
62-
"$OS" == watchOS && \
63-
"$xcode_major" -lt 13 && \
64-
"$xcode_version" != "12.5.1" && \
65-
"$xcode_version" != "12.5" ]]; then
66-
echo "Xcode version does not yet supporting testing on watchOS"
67-
exit 1
68-
fi
69-
7047
# Initialize flags
7148
flags=()
7249

0 commit comments

Comments
 (0)