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 SDL with Swift 5.10 for macOS (Xcode) using Xcode 15.4.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.59.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/sdl.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pureswift/sdl
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 718c2b3 Fixed `SDLTexture.withUnsafeMutableBytes()`
Cloned https://github.com/pureswift/sdl.git
Revision (git rev-parse @):
718c2b343a6102d769d6ab3a20f3891e320c0718
SUCCESS checkout https://github.com/pureswift/sdl.git at master
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             5.10
Building package at path:  $PWD
https://github.com/pureswift/sdl.git
Command line invocation:
    /Applications/Xcode-15.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
package 'spi-builder-workspace' is using Swift tools version 6.0.0 but the installed version is 5.10.0
Resolved source packages:
  spi-builder-workspace: /Users/admin/builder/spi-builder-workspace
2024-12-15 17:28:38.037 xcodebuild[459:2573] Writing error result bundle to /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/ResultBundle_2024-15-12_17-28-0038.xcresult
xcodebuild: error: Could not resolve package dependencies:
  package 'spi-builder-workspace' is using Swift tools version 6.0.0 but the installed version is 5.10.0
GENERIC FAILURE 5.10 macosXcodebuild