From 5907a2a1eea64ce95ade34b0b68243d23bd63054 Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Tue, 3 Nov 2020 09:37:06 +0300 Subject: [PATCH] Update xcode-postbuild.sh --- images/macos/provision/core/xcode-postbuild.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/images/macos/provision/core/xcode-postbuild.sh b/images/macos/provision/core/xcode-postbuild.sh index d03447266..1a82545b6 100644 --- a/images/macos/provision/core/xcode-postbuild.sh +++ b/images/macos/provision/core/xcode-postbuild.sh @@ -15,11 +15,6 @@ do #add sleep to let CoreSimulatorService to exit sleep 3 - # Version 12.2_beta installed into 12.2 directory and 12.1_GM_seed in 12.1 - pattern="[0-9]{1,2}.*_" - if [[ $XCODE_VERSION =~ $pattern ]] ; then - XCODE_VERSION=$(echo $XCODE_VERSION | cut -d"_" -f 1) - fi # Select xcode version by default sudo xcode-select -s "/Applications/Xcode_${XCODE_VERSION}.app/Contents/Developer"