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 Button, reference master (a1173a), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 15:54:51 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/lipka/Button.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lipka/Button
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a1173a7 Add test workflow.
Cloned https://github.com/lipka/Button.git
Revision (git rev-parse @):
a1173a79168b32bb21ad90adfeb05e4890860d15
SUCCESS checkout https://github.com/lipka/Button.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/lipka/Button.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/4] Emitting module Button
/Users/admin/builder/spi-builder-workspace/Sources/Button/Button.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class Button: UIButton {
[4/4] Compiling Button Button.swift
/Users/admin/builder/spi-builder-workspace/Sources/Button/Button.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class Button: UIButton {
BUILD FAILURE 6.2 macosSpm