The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWByteReader, reference 1.2.0 (bcf490), with Swift 6.3 for macOS (SPM) on 6 May 2026 11:13:41 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/WWByteReader.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWByteReader
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at bcf4901 - 加入Reader功能
Cloned https://github.com/William-Weng/WWByteReader.git
Revision (git rev-parse @):
bcf4901c88298ae5ff44ad4c0f30336450643234
SUCCESS checkout https://github.com/William-Weng/WWByteReader.git 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": "wwbytereader",
      "name": "WWByteReader",
      "url": "https://github.com/William-Weng/WWByteReader.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWByteReader",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/William-Weng/WWByteReader.git
[1/102] Fetching wwbytereader
Fetched https://github.com/William-Weng/WWByteReader.git from cache (0.82s)
Creating working copy for https://github.com/William-Weng/WWByteReader.git
Working copy of https://github.com/William-Weng/WWByteReader.git resolved at 1.2.0 (bcf4901)
warning: '.resolve-product-dependencies': dependency 'wwbytereader' 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/WWByteReader.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/8] Emitting module WWByteReader
/Users/admin/builder/spi-builder-workspace/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/8] Compiling WWByteReader WWByteReader.swift
/Users/admin/builder/spi-builder-workspace/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/8] Compiling WWByteReader Constant.swift
/Users/admin/builder/spi-builder-workspace/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/8] Compiling WWByteReader resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/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/8] Compiling WWByteReader WWByteWriter.swift
/Users/admin/builder/spi-builder-workspace/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