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 Realm, reference v20.0.3 (626053), with Swift 5.9 for macOS (SPM) on 16 Jun 2025 04:28:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/realm/realm-swift.git
Reference: v20.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/realm/realm-swift
 * tag               v20.0.3    -> FETCH_HEAD
HEAD is now at 6260534 Release 20.0.3
Cloned https://github.com/realm/realm-swift.git
Revision (git rev-parse @):
6260534683132eb981338c7c39fd5e69205876e6
SUCCESS checkout https://github.com/realm/realm-swift.git at v20.0.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/realm/realm-swift.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.10.0 but the installed version is 5.9.0
BUILD FAILURE 5.9 macosSpm