Build Information
Failed to build CameraButton, reference master (5d1091), with Swift 6.1 for macOS (SPM) on 23 Oct 2026 07:59:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ramiz69/CameraButton.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ramiz69/CameraButton
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 5d10919 Merge pull request #2: Redesign example app in SwiftUI
Cloned https://github.com/Ramiz69/CameraButton.git
Revision (git rev-parse @):
5d10919f80f6e4494694fc68d1ce48c8975e93ce
SUCCESS checkout https://github.com/Ramiz69/CameraButton.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Ramiz69/CameraButton.git
https://github.com/Ramiz69/CameraButton.git
{
"dependencies" : [
],
"manifest_display_name" : "CameraButton",
"name" : "CameraButton",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "CameraButton",
"targets" : [
"CameraButton"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "CameraButton",
"module_type" : "SwiftTarget",
"name" : "CameraButton",
"path" : "Sources",
"product_memberships" : [
"CameraButton"
],
"sources" : [
"CameraButton.swift",
"CameraType.swift",
"Protocols/CameraButtonDelegate.swift",
"SwiftUI/CameraShutterButton.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/7] Compiling CameraButton CameraType.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
23 | //
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | open class CameraButton: UIButton {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module CameraButton
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
23 | //
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | open class CameraButton: UIButton {
[5/7] Compiling CameraButton CameraButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
23 | //
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | open class CameraButton: UIButton {
[6/7] Compiling CameraButton CameraButtonDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
23 | //
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | open class CameraButton: UIButton {
[7/7] Compiling CameraButton CameraShutterButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
23 | //
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | open class CameraButton: UIButton {
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Info.plist
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling CameraButton CameraButtonDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
23 | //
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | open class CameraButton: UIButton {
[3/6] Compiling CameraButton CameraShutterButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
23 | //
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | open class CameraButton: UIButton {
[4/6] Compiling CameraButton CameraType.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
23 | //
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | open class CameraButton: UIButton {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module CameraButton
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
23 | //
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | open class CameraButton: UIButton {
[6/6] Compiling CameraButton CameraButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
23 | //
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | open class CameraButton: UIButton {
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Info.plist
BUILD FAILURE 6.1 macosSpm