The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncButton, reference 1.0.0 (a57643), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 02:42:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/timi2506/AsyncButton.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/timi2506/AsyncButton
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at a576433 AsyncButton.swift fix
Cloned https://github.com/timi2506/AsyncButton.git
Revision (git rev-parse @):
a57643336b2b3a507b46e39ed8623f853587a11b
SUCCESS checkout https://github.com/timi2506/AsyncButton.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "asyncbutton",
      "name": "AsyncButton",
      "url": "https://github.com/timi2506/AsyncButton.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncButton",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/timi2506/AsyncButton.git
[1/33] Fetching asyncbutton
Fetched https://github.com/timi2506/AsyncButton.git from cache (0.63s)
Creating working copy for https://github.com/timi2506/AsyncButton.git
Working copy of https://github.com/timi2506/AsyncButton.git resolved at 1.0.0 (a576433)
warning: '.resolve-product-dependencies': dependency 'asyncbutton' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/timi2506/AsyncButton.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.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.3 macosSpm