Build Information
Failed to build TokenView with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/TokenView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/TokenView
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b7b147e added license
Cloned https://github.com/elegantchaos/TokenView.git
Revision (git rev-parse @):
b7b147ecc7b69af208526cc63657c794985346d7
SUCCESS checkout https://github.com/elegantchaos/TokenView.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/elegantchaos/TokenView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module TokenView
/Users/admin/builder/spi-builder-workspace/Sources/TokenView/TokenView.swift:6:8: error: no such module 'UIKit'
4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
5 |
6 | import UIKit
| `- error: no such module 'UIKit'
7 |
8 | public protocol TokenViewDelegate {
[4/6] Compiling TokenView NSRangeExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/TokenView/TokenView.swift:6:8: error: no such module 'UIKit'
4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
5 |
6 | import UIKit
| `- error: no such module 'UIKit'
7 |
8 | public protocol TokenViewDelegate {
[5/6] Compiling TokenView TokenView.swift
/Users/admin/builder/spi-builder-workspace/Sources/TokenView/TokenView.swift:6:8: error: no such module 'UIKit'
4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
5 |
6 | import UIKit
| `- error: no such module 'UIKit'
7 |
8 | public protocol TokenViewDelegate {
[6/6] Compiling TokenView Token.swift
/Users/admin/builder/spi-builder-workspace/Sources/TokenView/TokenView.swift:6:8: error: no such module 'UIKit'
4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
5 |
6 | import UIKit
| `- error: no such module 'UIKit'
7 |
8 | public protocol TokenViewDelegate {
BUILD FAILURE 6.0 macosSpm