The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWPuzzleBoardView, reference 1.0.3 (22ac7d), with Swift 6.1 for macOS (SPM) on 28 Apr 2026 18:39:45 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/WWPuzzleBoardView.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWPuzzleBoardView
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 22ac7dc - 刪除沒有用到的Code
Cloned https://github.com/William-Weng/WWPuzzleBoardView.git
Revision (git rev-parse @):
22ac7dceeb64437ca6f2bec68721a4a608ee9162
SUCCESS checkout https://github.com/William-Weng/WWPuzzleBoardView.git at 1.0.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/William-Weng/WWPuzzleBoardView.git
https://github.com/William-Weng/WWPuzzleBoardView.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WWPuzzleBoardView",
  "name" : "WWPuzzleBoardView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "WWPuzzleBoardView",
      "targets" : [
        "WWPuzzleBoardView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WWPuzzleBoardView",
      "module_type" : "SwiftTarget",
      "name" : "WWPuzzleBoardView",
      "path" : "Sources/WWPuzzleBoardView",
      "product_memberships" : [
        "WWPuzzleBoardView"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/Privacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "PuzzleBoardView/ImageFactory.swift",
        "PuzzleBoardView/TileView.swift",
        "Utility/Constant.swift",
        "Utility/Extension.swift",
        "Utility/Model.swift",
        "Utility/Protocol.swift",
        "WWPuzzleBoardView.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/3] Write sources
[1/3] Copying Privacy
[2/3] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/12] Emitting module WWPuzzleBoardView
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[5/12] Compiling WWPuzzleBoardView WWPuzzleBoardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[6/12] Compiling WWPuzzleBoardView Protocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[7/12] Compiling WWPuzzleBoardView ImageFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[8/12] Compiling WWPuzzleBoardView resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[9/12] Compiling WWPuzzleBoardView Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[10/12] Compiling WWPuzzleBoardView TileView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[11/12] Compiling WWPuzzleBoardView Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[12/12] Compiling WWPuzzleBoardView Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
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/10] Compiling WWPuzzleBoardView Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[3/10] Compiling WWPuzzleBoardView Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[4/10] Compiling WWPuzzleBoardView resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module WWPuzzleBoardView
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[6/10] Compiling WWPuzzleBoardView TileView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[7/10] Compiling WWPuzzleBoardView ImageFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[8/10] Compiling WWPuzzleBoardView Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[9/10] Compiling WWPuzzleBoardView Protocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
[10/10] Compiling WWPuzzleBoardView WWPuzzleBoardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPuzzleBoardView/PuzzleBoardView/ImageFactory.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 產生切片圖片工廠
BUILD FAILURE 6.1 macosSpm