Skip to content

Commit 27dd92c

Browse files
authored
Use Xcode 16.2 to build Zapbox (#830)
Force the default xcode to be 16.2 (currently 15.4 on macos-14 runners) Manually install missing ios 18.2 Also, revert the cleanup when running fastlane because the Mac images now have a lot more room.
1 parent 766fb4e commit 27dd92c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,10 +1390,11 @@ jobs:
13901390
rm -rf "$AGENT_TOOLSDIRECTORY"
13911391
echo "Disk space after cleanup of \$AGENT_TOOLSDIRECTORY"
13921392
df -h
1393-
echo "Deleting all Xcode versions except 15.4"
1394-
find /Applications/Xcode_* -maxdepth 0 -type d ! -name 'Xcode_15.4.app' -exec rm -rf {} \;
1395-
df -h
1396-
find /Applications/Xcode* -name "*.app" -exec du -mcsh {} \; # Shows Xcode app sizes
1393+
1394+
- name: Use xcode 16.2 / ios 18.2
1395+
run: |
1396+
sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer # The default in macos-latest (i.e., 14) is currently 15.4.
1397+
xcodebuild -downloadPlatform iOS -buildVersion 18.2 # Because of https://github.com/actions/runner-images/issues/11335
13971398
13981399
- name: Download iOS Artifact
13991400
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)