Build Information
Failed to build Swift-VPSwitchToggle with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VansonLeung/Swift-VPSwitchToggle.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/VansonLeung/Swift-VPSwitchToggle.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Copying foreground_overlay_bw.png
[2/4] Copying f_switch_base_glow.png
[3/4] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module Swift_VPSwitchToggle
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/7] Compiling Swift_VPSwitchToggle resource_bundle_accessor.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[7/7] Compiling Swift_VPSwitchToggle Swift_VPSwitchToggle.swift
/Users/builder/builds/UKfvDsi8u/3/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...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/4] Compiling Swift_VPSwitchToggle resource_bundle_accessor.swift
/Users/builder/builds/UKfvDsi8u/3/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)
[3/4] Emitting module Swift_VPSwitchToggle
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Swift-VPSwitchToggle/Swift_VPSwitchToggle.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling Swift_VPSwitchToggle Swift_VPSwitchToggle.swift
/Users/builder/builds/UKfvDsi8u/3/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.10 macosSpm