Build Information
Failed to build Swift-VPSwitchToggle, reference main (40087c
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 08:54:12 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/VansonLeung/Swift-VPSwitchToggle.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/VansonLeung/Swift-VPSwitchToggle
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 40087c4 Create LICENSE
Cloned https://github.com/VansonLeung/Swift-VPSwitchToggle.git
Revision (git rev-parse @):
40087c465f572afa8038786732f1c0887d737ba0
SUCCESS checkout https://github.com/VansonLeung/Swift-VPSwitchToggle.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": "swift-vpswitchtoggle",
"name": "Swift-VPSwitchToggle",
"url": "https://github.com/VansonLeung/Swift-VPSwitchToggle.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift-VPSwitchToggle",
"dependencies": [
]
}
]
}
Fetching https://github.com/VansonLeung/Swift-VPSwitchToggle.git
[1/71] Fetching swift-vpswitchtoggle
Fetched https://github.com/VansonLeung/Swift-VPSwitchToggle.git from cache (0.73s)
Creating working copy for https://github.com/VansonLeung/Swift-VPSwitchToggle.git
Working copy of https://github.com/VansonLeung/Swift-VPSwitchToggle.git resolved at main (40087c4)
warning: '.resolve-product-dependencies': dependency 'swift-vpswitchtoggle' 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/VansonLeung/Swift-VPSwitchToggle.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/4] Write sources
[1/4] Copying f_switch_base_glow.png
[2/4] Copying foreground_overlay_bw.png
[3/4] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module Swift_VPSwitchToggle
/Users/admin/builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | @IBDesignable public class VPSwitchToggle_IBDesignable: VPSwitchToggle {
[6/7] Compiling Swift_VPSwitchToggle resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | @IBDesignable public class VPSwitchToggle_IBDesignable: VPSwitchToggle {
[7/7] Compiling Swift_VPSwitchToggle Swift_VPSwitchToggle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | @IBDesignable public class VPSwitchToggle_IBDesignable: VPSwitchToggle {
BUILD FAILURE 6.0 macosSpm