The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWWebSocket, reference main (7fe152), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 12:16:00 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/WWWebSocket.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWWebSocket
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7fe1520 - 加上WWWebSocketDelegate說明
Cloned https://github.com/William-Weng/WWWebSocket.git
Revision (git rev-parse @):
7fe1520796e5296d50444f3ef0bfe659050fecbe
SUCCESS checkout https://github.com/William-Weng/WWWebSocket.git at main
========================================
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": "wwwebsocket",
      "name": "WWWebSocket",
      "url": "https://github.com/William-Weng/WWWebSocket.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWWebSocket",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/William-Weng/WWWebSocket.git
[1/106] Fetching wwwebsocket
Fetched https://github.com/William-Weng/WWWebSocket.git from cache (1.18s)
Creating working copy for https://github.com/William-Weng/WWWebSocket.git
Working copy of https://github.com/William-Weng/WWWebSocket.git resolved at main (7fe1520)
warning: '.resolve-product-dependencies': dependency 'wwwebsocket' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/William-Weng/WWWebSocket.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Privacy
[2/3] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module WWWebSocket
/Users/admin/builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - Constant
[5/7] Compiling WWWebSocket WebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - Constant
[6/7] Compiling WWWebSocket Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - Constant
[7/7] Compiling WWWebSocket resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - Constant
BUILD FAILURE 6.3 macosSpm