Skip to content

Commit 0767dde

Browse files
committed
Correct for GitHub Actions macos-15 image changes.
1 parent f8d574d commit 0767dde

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
- backend: iOS
9393
runs-on: macos-latest
9494
briefcase-target: "iOS"
95-
briefcase-run-args: ' -d "iPhone SE (3rd generation)"'
95+
briefcase-run-args: ' -d "iPhone SE (3rd generation):iOS 18.5"'
9696

9797
- backend: android
9898
runs-on: ubuntu-latest
@@ -124,6 +124,16 @@ jobs:
124124
python-version: ${{ matrix.python-version }}
125125
allow-prereleases: true
126126

127+
- name: Prepare macOS
128+
# GitHub recommends explicitly selecting the desired Xcode version:
129+
# https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
130+
# This became a necessity as a result of
131+
# https://github.com/actions/runner-images/issues/12541 and
132+
# https://github.com/actions/runner-images/issues/12751.
133+
if: matrix.runs-on == 'macos-latest'
134+
run: |
135+
sudo xcode-select --switch /Applications/Xcode_16.5.app
136+
127137
- name: Install Dependencies
128138
run: ${{ matrix.pre-command }}
129139

0 commit comments

Comments
 (0)