The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Button, reference 0.1.2 (d5254e), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 17:16:30 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/lipka/Button.git
Reference: 0.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lipka/Button
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at d5254e4 Add support for setting border color.
Cloned https://github.com/lipka/Button.git
Revision (git rev-parse @):
d5254e40ce7e46eaa0b4ed3ce1213ce7a7faf966
SUCCESS checkout https://github.com/lipka/Button.git at 0.1.2
========================================
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": "button",
      "name": "Button",
      "url": "https://github.com/lipka/Button.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Button",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/lipka/Button.git
[1/33] Fetching button
Fetched https://github.com/lipka/Button.git from cache (0.61s)
Creating working copy for https://github.com/lipka/Button.git
Working copy of https://github.com/lipka/Button.git resolved at 0.1.2 (d5254e4)
warning: '.resolve-product-dependencies': dependency 'button' 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/lipka/Button.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 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.3 macosSpm