We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 005f3fc commit 0b61e33Copy full SHA for 0b61e33
src/ci/scripts/select-xcode.sh
@@ -7,17 +7,14 @@ IFS=$'\n\t'
7
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
8
9
if isMacOS; then
10
+ # This additional step is to try to remove an XCode we aren't using because each one is HUGE
11
old_xcode="$(xcode-select --print-path)"
12
if [[ $old_xcode =~ $SELECT_XCODE ]]; then
13
echo "xcode-select.sh's brutal hack may not be necessary?"
14
exit 1
15
elif [[ $SELECT_XCODE =~ "16" ]]; then
16
echo "Using xcode 16? Please fix xcode-select.sh"
17
- else
18
- sudo xcode-select -s 16
19
- xcode_16_path="$(xcode-select --print-path)"
20
- sudo rm -rf "${xcode_16_path}/../../"
21
fi
22
sudo rm -rf "${old_xcode}/../../"
23
sudo xcode-select -s "${SELECT_XCODE}"
0 commit comments