Skip to content

Commit 0b61e33

Browse files
fixup! Bob for Tim's latest apple and bite it off
1 parent 005f3fc commit 0b61e33

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ci/scripts/select-xcode.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,14 @@ IFS=$'\n\t'
77
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
88

99
if isMacOS; then
10+
# This additional step is to try to remove an XCode we aren't using because each one is HUGE
1011
old_xcode="$(xcode-select --print-path)"
1112
if [[ $old_xcode =~ $SELECT_XCODE ]]; then
1213
echo "xcode-select.sh's brutal hack may not be necessary?"
1314
exit 1
1415
elif [[ $SELECT_XCODE =~ "16" ]]; then
1516
echo "Using xcode 16? Please fix xcode-select.sh"
1617
exit 1
17-
else
18-
sudo xcode-select -s 16
19-
xcode_16_path="$(xcode-select --print-path)"
20-
sudo rm -rf "${xcode_16_path}/../../"
2118
fi
2219
sudo rm -rf "${old_xcode}/../../"
2320
sudo xcode-select -s "${SELECT_XCODE}"

0 commit comments

Comments
 (0)