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 ControlKit, reference main (2221a2), with Swift 5.10 for macOS (SPM) on 26 May 2025 09:39:08 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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/superturboryan/ControlKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/superturboryan/ControlKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2221a2f ⏯️ Playback: Set AVAudioSession category
Cloned https://github.com/superturboryan/ControlKit.git
Revision (git rev-parse @):
2221a2fbde16520cec8e256da42b477a8d79500a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/superturboryan/ControlKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/superturboryan/ControlKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-33747A42983211AE.txt
[4/11] Compiling Control Haptics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[5/11] Compiling Control Volume.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[6/11] Compiling Control Playback.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[7/11] Compiling Control MPVolumeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[8/11] Compiling Control BetweenZeroAndOneInclusive.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Compiling Control Control.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[10/11] Compiling Control MPMusicPlaybackState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[11/11] Emitting module Control
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
Fetching https://github.com/spotify/ios-sdk.git
[1/1806] Fetching ios-sdk
Fetched https://github.com/spotify/ios-sdk.git from cache (8.01s)
Computing version for https://github.com/spotify/ios-sdk.git
Computed https://github.com/spotify/ios-sdk.git at 3.0.0 (2.11s)
Creating working copy for https://github.com/spotify/ios-sdk.git
Working copy of https://github.com/spotify/ios-sdk.git resolved at 3.0.0
BUILD FAILURE 5.10 macosSpm