[macOS] Add Xcode 12.1 GM seed (#1805)

* added Xcode 12.1 GM

* removed Xcode 12.1 from Big Sur

* fixed Xcode dir setting
This commit is contained in:
Alena Sviridenko
2020-10-14 15:17:13 +03:00
committed by GitHub
parent be5c8f4995
commit 8196a608de
2 changed files with 2 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ setXcodeDeveloperDirVariables() {
for MAJOR_VERSION in "${major_versions[@]}"
do
LATEST_STABLE_VERSION=$(echo "${stable_xcode_versions[*]}" | grep "${MAJOR_VERSION}" | tail -n 1)
LATEST_STABLE_VERSION=$(echo $LATEST_STABLE_VERSION | cut -d"_" -f 1)
echo "export XCODE_${MAJOR_VERSION}_DEVELOPER_DIR=/Applications/Xcode_${LATEST_STABLE_VERSION}.app/Contents/Developer" >> "$HOME/.bashrc"
done
}