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 Player, reference main (a0f0c5), with Swift 5.10 for macOS (SPM) on 8 Sep 2025 11:52:03 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/piemonte/Player.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/piemonte/Player
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a0f0c50 setup CLAUDE.md
Cloned https://github.com/piemonte/Player.git
Revision (git rev-parse @):
a0f0c505b93ca511d765a4da165a0aa711dbc1b3
SUCCESS checkout https://github.com/piemonte/Player.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/piemonte/Player.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Player
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:27:8: error: no such module 'UIKit'
import UIKit
       ^
[4/4] Compiling Player Player.swift
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:27:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm