The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build mcp-swift-sdk, reference 0.10.2 (c0407a), with Swift 5.10 for macOS (SPM) on 23 Sep 2025 22:56:02 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/modelcontextprotocol/swift-sdk.git
Reference: 0.10.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/modelcontextprotocol/swift-sdk
 * tag               0.10.2     -> FETCH_HEAD
HEAD is now at c0407a0 Add Mac Catalyst to target dependencies for EventSource. (#163)
Cloned https://github.com/modelcontextprotocol/swift-sdk.git
Revision (git rev-parse @):
c0407a0b52677cb395d824cac2879b963075ba8c
SUCCESS checkout https://github.com/modelcontextprotocol/swift-sdk.git at 0.10.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/modelcontextprotocol/swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.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 5.10.0
BUILD FAILURE 5.10 macosSpm