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 SoundKit, reference v0.1.0-alpha (ad64bf), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 00:53:30 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lucaswkuipers/SoundKit.git
Reference: v0.1.0-alpha
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lucaswkuipers/SoundKit
 * tag               v0.1.0-alpha -> FETCH_HEAD
HEAD is now at ad64bf6 Update README.md
Cloned https://github.com/lucaswkuipers/SoundKit.git
Revision (git rev-parse @):
ad64bf6f7c92edc864623e0cf6dca337402c4e5d
SUCCESS checkout https://github.com/lucaswkuipers/SoundKit.git at v0.1.0-alpha
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/lucaswkuipers/SoundKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/11] Compiling SoundKit Sound.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[4/11] Compiling SoundKit Haptic.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[5/11] Emitting module SoundKit
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[6/11] Compiling SoundKit AVAudioSession+setAmbient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[7/11] Compiling SoundKit EmptySound.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[8/11] Compiling SoundKit SoundPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[9/11] Compiling SoundKit Array+subscript(safe).swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[10/11] Compiling SoundKit String+removing.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[11/11] Compiling SoundKit HapticPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Sound/Sounds/Empty/empty.mp3
BUILD FAILURE 6.2 macosSpm