Build Information
Failed to build RVS_Checkbox, reference main (539526
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 02:31:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RiftValleySoftware/RVS_Checkbox.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RiftValleySoftware/RVS_Checkbox
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 539526d - Updated the dependencies. - Added privacy statements. - I had to remove SwiftLint, as it no longer works in the latest Xcode.
Cloned https://github.com/RiftValleySoftware/RVS_Checkbox.git
Revision (git rev-parse @):
539526de1a54ca5c0a923dfc3d70891ca9c5ad69
SUCCESS checkout https://github.com/RiftValleySoftware/RVS_Checkbox.git at main
========================================
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": "rvs_checkbox",
"name": "RVS_Checkbox",
"url": "https://github.com/RiftValleySoftware/RVS_Checkbox.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RVS_Checkbox",
"dependencies": [
]
}
]
}
Fetching https://github.com/RiftValleySoftware/RVS_Checkbox.git
[1/1113] Fetching rvs_checkbox
Fetched https://github.com/RiftValleySoftware/RVS_Checkbox.git from cache (1.48s)
Creating working copy for https://github.com/RiftValleySoftware/RVS_Checkbox.git
Working copy of https://github.com/RiftValleySoftware/RVS_Checkbox.git resolved at main (539526d)
warning: '.resolve-product-dependencies': dependency 'rvs_checkbox' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/RiftValleySoftware/RVS_Checkbox.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module RVS_Checkbox
/Users/admin/builder/spi-builder-workspace/Sources/RVS_Checkbox/RVS_Checkbox.swift:25:8: error: no such module 'UIKit'
23 | */
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | #if os(iOS) // This prevents the IB errors from showing up, under SPM (From SO Answer: https://stackoverflow.com/a/66334661/879365).
[4/4] Compiling RVS_Checkbox RVS_Checkbox.swift
/Users/admin/builder/spi-builder-workspace/Sources/RVS_Checkbox/RVS_Checkbox.swift:25:8: error: no such module 'UIKit'
23 | */
24 |
25 | import UIKit
| `- error: no such module 'UIKit'
26 |
27 | #if os(iOS) // This prevents the IB errors from showing up, under SPM (From SO Answer: https://stackoverflow.com/a/66334661/879365).
BUILD FAILURE 6.0 macosSpm