The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncButton, reference main (e68f03), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 18:14:39 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/timi2506/AsyncButton.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/timi2506/AsyncButton
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e68f03e Update README.md
Cloned https://github.com/timi2506/AsyncButton.git
Revision (git rev-parse @):
e68f03e875ecd8d1ed05e9a84f70af6ecc9ef964
SUCCESS checkout https://github.com/timi2506/AsyncButton.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/timi2506/AsyncButton.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 AsyncButton
/Users/admin/builder/spi-builder-workspace/Sources/AsyncButton/AsyncButton.swift:140:8: error: no such module 'UIKit'
138 | }
139 |
140 | import UIKit
    |        `- error: no such module 'UIKit'
141 |
142 | public func confirmationAlert(_ title: String? = nil, subtitle: String, completion: @escaping (Bool) -> Void) {
[4/4] Compiling AsyncButton AsyncButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncButton/AsyncButton.swift:140:8: error: no such module 'UIKit'
138 | }
139 |
140 | import UIKit
    |        `- error: no such module 'UIKit'
141 |
142 | public func confirmationAlert(_ title: String? = nil, subtitle: String, completion: @escaping (Bool) -> Void) {
BUILD FAILURE 6.2 macosSpm