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 SHSearchBar, reference develop (b3587c), with Swift 5.10 for macOS (SPM) on 16 Sep 2025 23:50:18 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/blackjacx/SHSearchBar.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/blackjacx/SHSearchBar
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at b3587ca Bump actions/checkout from 2 to 5 in /.github/workflows
Cloned https://github.com/blackjacx/SHSearchBar.git
Revision (git rev-parse @):
b3587ca32294078e8e1373294bce4734b73b499b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/blackjacx/SHSearchBar.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/blackjacx/SHSearchBar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin DefocusCommandPlugin
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin LintCommandPlugin
[5/5] Compiling plugin LintError
[6/6] Compiling plugin LintWarning
Building for debugging...
[6/17] Copying Info.plist
[6/17] Copying Localizable.strings
[8/17] Write sources
[8/17] Copying Localizable.strings
[16/17] Write swift-version-33747A42983211AE.txt
[18/25] Compiling SHSearchBar UIImage+Style.swift
/Users/admin/builder/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[19/25] Compiling SHSearchBar SHSearchBarTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[20/25] Compiling SHSearchBar resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/25] Compiling SHSearchBar SHSearchBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[22/25] Emitting module SHSearchBar
/Users/admin/builder/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[23/25] Compiling SHSearchBar SHSearchBarDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[24/25] Compiling SHSearchBar Foundation + Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[25/25] Compiling SHSearchBar SHSearchBarConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
Fetching https://github.com/Quick/Quick
Fetching https://github.com/Quick/Nimble
[1/14841] Fetching quick
[2/34499] Fetching quick, nimble
Fetched https://github.com/Quick/Nimble from cache (2.31s)
Fetched https://github.com/Quick/Quick from cache (2.31s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 13.7.1 (0.37s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.87s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (2.37s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.67s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.43s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (0.41s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-algorithms.git
[1/16294] Fetching swift-argument-parser
[2/22280] Fetching swift-argument-parser, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (1.34s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.34s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.44s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.06s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.36s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.37s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 13.7.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 7.6.2
BUILD FAILURE 5.10 macosSpm