The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWBluetoothManager, reference main (aee4b8), with Swift 6.2 for macOS (SPM) on 7 May 2026 11:53:23 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build 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.2
Building package at path:  $PWD
https://github.com/William-Weng/WWBluetoothManager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[2/5] Copying Privacy
[4/5] Write swift-version--3CB7CFEC50E0D141.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
[7/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/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
[9/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
[10/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
Fetching https://github.com/William-Weng/WWByteReader
[1/102] Fetching wwbytereader
Fetched https://github.com/William-Weng/WWByteReader from cache (1.00s)
Computing version for https://github.com/William-Weng/WWByteReader
Computed https://github.com/William-Weng/WWByteReader at 1.2.0 (1.66s)
Creating working copy for https://github.com/William-Weng/WWByteReader
Working copy of https://github.com/William-Weng/WWByteReader resolved at 1.2.0
BUILD FAILURE 6.2 macosSpm