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 FDBarGuage, reference 5.0.0 (dc6980), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 11:25:08 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/fulldecent/FDBarGauge.git
Reference: 5.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fulldecent/FDBarGauge
 * tag               5.0.0      -> FETCH_HEAD
HEAD is now at dc6980e Release 5.0.0
Cloned https://github.com/fulldecent/FDBarGauge.git
Revision (git rev-parse @):
dc6980e22fbcee087870a271849d720a110617c7
SUCCESS checkout https://github.com/fulldecent/FDBarGauge.git at 5.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fulldecent/FDBarGauge.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 FDBarGuage
/Users/admin/builder/spi-builder-workspace/Sources/FDBarGuage/FDBarGuage.swift:12:8: error: no such module 'UIKit'
 10 |
 11 | import Foundation
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /// A view for showing a single number on an LED display
[4/4] Compiling FDBarGuage FDBarGuage.swift
/Users/admin/builder/spi-builder-workspace/Sources/FDBarGuage/FDBarGuage.swift:12:8: error: no such module 'UIKit'
 10 |
 11 | import Foundation
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /// A view for showing a single number on an LED display
BUILD FAILURE 6.2 macosSpm