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 KeyboardShortcuts, reference 2.3.0 (045cf1), with Swift 5.9 for macOS (SPM) on 7 Mar 2025 15:30:30 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sindresorhus/KeyboardShortcuts.git
Reference: 2.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sindresorhus/KeyboardShortcuts
 * tag               2.3.0      -> FETCH_HEAD
HEAD is now at 045cf17 Add `Shortcut#nsMenuItemKeyEquivalent` property
Cloned https://github.com/sindresorhus/KeyboardShortcuts.git
Revision (git rev-parse @):
045cf174010beb335fa1d2567d18c057b8787165
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sindresorhus/KeyboardShortcuts.git at 2.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/sindresorhus/KeyboardShortcuts.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 5.11.0 but the installed version is 5.9.0
BUILD FAILURE 5.9 macosSpm