Build Information
Failed to build WWBluetoothManager, reference main (aee4b8), with Swift 6.1 for macOS (SPM) on 7 May 2026 11:54:59 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWBluetoothManager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWBluetoothManager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aee4b8e - 加入publish / startAdvertising使用enum的功能
Cloned https://github.com/William-Weng/WWBluetoothManager.git
Revision (git rev-parse @):
aee4b8e97cfa40579284f3076e9e5fa2344be4f6
SUCCESS checkout https://github.com/William-Weng/WWBluetoothManager.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/William-Weng/WWBluetoothManager.git
https://github.com/William-Weng/WWBluetoothManager.git
{
"dependencies" : [
{
"identity" : "wwbytereader",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "1.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/William-Weng/WWByteReader"
}
],
"manifest_display_name" : "WWBluetoothManager",
"name" : "WWBluetoothManager",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "WWBluetoothManager",
"targets" : [
"WWBluetoothManager"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "WWBluetoothManager",
"module_type" : "SwiftTarget",
"name" : "WWBluetoothManager",
"path" : "Sources/WWBluetoothManager",
"product_dependencies" : [
"WWByteReader"
],
"product_memberships" : [
"WWBluetoothManager"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WWBluetoothManager/Privacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BluetoothManager/Central.swift",
"BluetoothManager/Client.swift",
"BluetoothManager/Peripheral.swift",
"BluetoothTransfer/FileTransferController.swift",
"BluetoothTransfer/FileTransferRecord.swift",
"Utility/Constant+UUIDType.swift",
"Utility/Constant.swift",
"Utility/Delegate.swift",
"Utility/Extension.swift",
"Utility/Model.swift",
"Utility/ScanResult.swift",
"WWBluetoothManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/5] Write sources
[2/5] Copying Privacy
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/10] Compiling WWByteReader resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWByteReader/Sources/WWByteReader/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - enum
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module WWByteReader
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWByteReader/Sources/WWByteReader/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - enum
[8/10] Compiling WWByteReader Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWByteReader/Sources/WWByteReader/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - enum
[9/10] Compiling WWByteReader WWByteWriter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWByteReader/Sources/WWByteReader/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - enum
[10/10] Compiling WWByteReader WWByteReader.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWByteReader/Sources/WWByteReader/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - enum
Fetching https://github.com/William-Weng/WWByteReader
[1/102] Fetching wwbytereader
Fetched https://github.com/William-Weng/WWByteReader from cache (0.82s)
Computing version for https://github.com/William-Weng/WWByteReader
Computed https://github.com/William-Weng/WWByteReader at 1.2.0 (1.40s)
Creating working copy for https://github.com/William-Weng/WWByteReader
Working copy of https://github.com/William-Weng/WWByteReader resolved at 1.2.0
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling WWByteReader WWByteWriter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWByteReader/Sources/WWByteReader/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - enum
[3/6] Compiling WWByteReader Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWByteReader/Sources/WWByteReader/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - enum
[4/6] Compiling WWByteReader WWByteReader.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWByteReader/Sources/WWByteReader/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - enum
[5/6] Compiling WWByteReader resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWByteReader/Sources/WWByteReader/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - enum
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/6] Emitting module WWByteReader
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWByteReader/Sources/WWByteReader/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - enum
BUILD FAILURE 6.1 macosSpm