Skip to content

Commit 1ebd494

Browse files
committed
fix: select macOS 26 SDK for CI packaging
1 parent ef10b6c commit 1ebd494

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/electron-build.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ jobs:
5151
- uses: actions/checkout@v5
5252
with:
5353
fetch-depth: 0
54+
# TranslationSession(installedSource:target:) requires the macOS 26 SDK.
55+
# The Intel macOS 15 image still defaults to Xcode 16.4.
56+
- name: Select Xcode 26.3
57+
if: matrix.platform == 'darwin'
58+
run: |
59+
sudo xcode-select --switch /Applications/Xcode_26.3.app/Contents/Developer
60+
xcodebuild -version
61+
xcrun --sdk macosx --show-sdk-version
5462
- uses: actions/setup-node@v5
5563
id: node
5664
with:

0 commit comments

Comments
 (0)