The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Player, reference main (fb9010), with Swift 6.0 for macOS (SPM) on 3 Mar 2026 07:05:39 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
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 fb90103 https://github.com/piemonte/Player/issues/260   Here's a summary of the fix:
Cloned https://github.com/piemonte/Player.git
Revision (git rev-parse @):
fb901038bbf9ea2f92a39541e90a2fd6eac1ed9b
SUCCESS checkout https://github.com/piemonte/Player.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/piemonte/Player.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.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'
  25 | //  SOFTWARE.
  26 |
  27 | import UIKit
     |        `- error: no such module 'UIKit'
  28 | import Foundation
  29 | import AVFoundation
[4/4] Compiling Player Player.swift
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:27:8: error: no such module 'UIKit'
  25 | //  SOFTWARE.
  26 |
  27 | import UIKit
     |        `- error: no such module 'UIKit'
  28 | import Foundation
  29 | import AVFoundation
BUILD FAILURE 6.0 macosSpm