Build Information
Failed to build CameraButton, reference 0.0.4 (86f4a0
), with Swift 6.1 for macOS (SPM) on 17 May 2025 20:52:35 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ramiz69/CameraButton.git
Reference: 0.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ramiz69/CameraButton
* tag 0.0.4 -> FETCH_HEAD
HEAD is now at 86f4a08 Added support swift 6
Cloned https://github.com/Ramiz69/CameraButton.git
Revision (git rev-parse @):
86f4a083c21bac474de86db23184e124b0325bb3
SUCCESS checkout https://github.com/Ramiz69/CameraButton.git at 0.0.4
========================================
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",
"dependencies": [
{
"identity": "camerabutton",
"name": "CameraButton",
"url": "https://github.com/Ramiz69/CameraButton.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CameraButton",
"dependencies": [
]
}
]
}
Fetching https://github.com/Ramiz69/CameraButton.git
[1/211] Fetching camerabutton
Fetched https://github.com/Ramiz69/CameraButton.git from cache (1.15s)
Creating working copy for https://github.com/Ramiz69/CameraButton.git
Working copy of https://github.com/Ramiz69/CameraButton.git resolved at 0.0.4 (86f4a08)
warning: '.resolve-product-dependencies': dependency 'camerabutton' is not used by any target
Found 0 product dependencies
========================================
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" : "14.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"
],
"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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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 {
[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 {
[5/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 {
[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
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/5] 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 {
[3/5] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] 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/5] 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