Skip to content

fix(release): build with Xcode 26 like CI - #190

Merged
solderzzc merged 1 commit into
mainfrom
fix/release-xcode26
Sep 25, 2026
Merged

solderzzc merged 1 commit into
mainfrom
fix/release-xcode26

Conversation

@solderzzc

Copy link
Copy Markdown
Member

Problem

Every automatic Release run since 2026-09-24 16:18 UTC has failed:

error: package 'mlx-swift-lm' is using Swift tools version 6.2.0 but the installed version is 6.1.0

ci.yml switches to /Applications/Xcode_26.3.app. release.yml never did, so it built with the macos-15 runner's default Xcode 16 (Swift 6.1). CI stayed green while releases silently stopped. The latest release, b719, came out before #173 (the 32 GB memory fixes), so users downloading a binary don't have #173, #177, #179–#181, #185 or #186.

Fix

Add the same Select Xcode 26 (Swift 6.2) step that CI uses, before the Metal Toolchain install.

Verification

Manual workflow_dispatch on this branch with create_release=false: it runs the build and skips publishing. Result linked below.

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@solderzzc
solderzzc merged commit 300091c into main Sep 25, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant