The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWBluetoothManager, reference 1.2.1 (aee4b8), with Swift 6.1 for macOS (SPM) on 7 May 2026 11:52:53 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.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: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWBluetoothManager
 * tag               1.2.1      -> FETCH_HEAD
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 1.2.1
========================================
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
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 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
[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 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
[10/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
Fetching https://github.com/William-Weng/WWByteReader
[1/102] Fetching wwbytereader
Fetched https://github.com/William-Weng/WWByteReader from cache (0.80s)
Computing version for https://github.com/William-Weng/WWByteReader
Computed https://github.com/William-Weng/WWByteReader at 1.2.0 (1.39s)
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 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)
[3/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
[4/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
[5/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
[6/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
BUILD FAILURE 6.1 macosSpm