The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.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
Fetching https://github.com/William-Weng/WWByteReader
[1/102] Fetching wwbytereader
Fetched https://github.com/William-Weng/WWByteReader from cache (0.84s)
Computing version for https://github.com/William-Weng/WWByteReader
Computed https://github.com/William-Weng/WWByteReader at 1.2.0 (1.52s)
Creating working copy for https://github.com/William-Weng/WWByteReader
Working copy of https://github.com/William-Weng/WWByteReader resolved at 1.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "wwbluetoothmanager",
      "name": "WWBluetoothManager",
      "url": "https://github.com/William-Weng/WWBluetoothManager.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWBluetoothManager",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "wwbytereader",
          "name": "WWByteReader",
          "url": "https://github.com/William-Weng/WWByteReader",
          "version": "1.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWByteReader",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/William-Weng/WWBluetoothManager.git
[1/729] Fetching wwbluetoothmanager
Fetched https://github.com/William-Weng/WWBluetoothManager.git from cache (1.39s)
Fetching https://github.com/William-Weng/WWByteReader from cache
Fetched https://github.com/William-Weng/WWByteReader from cache (0.42s)
Computing version for https://github.com/William-Weng/WWByteReader
Computed https://github.com/William-Weng/WWByteReader at 1.2.0 (0.47s)
Creating working copy for https://github.com/William-Weng/WWByteReader
Working copy of https://github.com/William-Weng/WWByteReader resolved at 1.2.0
Creating working copy for https://github.com/William-Weng/WWBluetoothManager.git
Working copy of https://github.com/William-Weng/WWBluetoothManager.git resolved at main (aee4b8e)
warning: '.resolve-product-dependencies': dependency 'wwbluetoothmanager' is not used by any target
Found 1 product dependencies
  - WWByteReader
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/William-Weng/WWBluetoothManager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[2/5] Copying Privacy
[4/5] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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
[7/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
[8/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
[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
BUILD FAILURE 6.3 macosSpm