Build Information
Failed to build mlx-swift-lm, reference 3.31.3 (1c0524), with Swift 6.0 for macOS (SPM) on 20 Apr 2026 06:11:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-explore/mlx-swift-lm.git
Reference: 3.31.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ml-explore/mlx-swift-lm
* tag 3.31.3 -> FETCH_HEAD
HEAD is now at 1c05248 add upgrade docs, how to use, how to develop. (#206)
Cloned https://github.com/ml-explore/mlx-swift-lm.git
Revision (git rev-parse @):
1c05248bb0899e2a7a4962b84d319cf12f4e12aa
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift-lm.git at 3.31.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ml-explore/mlx-swift-lm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.3
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.3
BUILD FAILURE 6.0 macosSpm