Build Information
Failed to build Swift-VPSwitchToggle with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VansonLeung/Swift-VPSwitchToggle.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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 (0.33s)
Creating working copy for https://github.com/VansonLeung/Swift-VPSwitchToggle.git
Working copy of https://github.com/VansonLeung/Swift-VPSwitchToggle.git resolved at main
warning: '.resolve-product-dependencies': dependency 'swift-vpswitchtoggle' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Copying f_switch_base_glow.png
[0/2] Copying foreground_overlay_bw.png
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module Swift_VPSwitchToggle
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/5] Compiling Swift_VPSwitchToggle Swift_VPSwitchToggle.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/5] Compiling Swift_VPSwitchToggle resource_bundle_accessor.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/3] Compiling Swift_VPSwitchToggle resource_bundle_accessor.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Swift_VPSwitchToggle
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[3/3] Compiling Swift_VPSwitchToggle Swift_VPSwitchToggle.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 macosSpm