diff --git a/images/macos/provision/core/xcode-postbuild.sh b/images/macos/provision/core/xcode-postbuild.sh index d0344726..1a82545b 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"