From 2b5f72577e18a91ce592dc54c4315f50593741f3 Mon Sep 17 00:00:00 2001 From: simba Date: Fri, 25 Sep 2026 09:40:03 -0700 Subject: [PATCH] fix(release): build with Xcode 26 like CI Every Release run since Sep 24 16:18 failed with "package 'mlx-swift-lm' is using Swift tools version 6.2.0 but the installed version is 6.1.0". ci.yml selects Xcode 26.3; release.yml used the macos-15 default. The last release, b719, predates the 32 GB memory fixes (#173) and later work. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87448b6..2cd7bde 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,6 +52,10 @@ jobs: # the branch tip, which may already have moved on to an untested commit. ref: ${{ github.event.workflow_run.head_sha || github.ref }} + # mlx-swift-lm needs Swift tools 6.2; the macos-15 default Xcode ships 6.1. + - name: Select Xcode 26 (Swift 6.2) + run: sudo xcode-select -s /Applications/Xcode_26.3.app + - name: Install Metal Toolchain run: xcodebuild -downloadComponent MetalToolchain || true