The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWFileService, reference 1.3.1 (6cc3ff), with Swift 6.1 for macOS (SPM) on 20 Aug 2026 03:41:16 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWFileService.git
Reference: 1.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWFileService
 * tag               1.3.1      -> FETCH_HEAD
HEAD is now at 6cc3ff0 - 取得手機整體的磁碟空間資訊 (總容量與剩餘可用容量)
Cloned https://github.com/William-Weng/WWFileService.git
Revision (git rev-parse @):
6cc3ff04dbb91bf05db3a0a7419c6462434ba06c
SUCCESS checkout https://github.com/William-Weng/WWFileService.git at 1.3.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/William-Weng/WWFileService.git
https://github.com/William-Weng/WWFileService.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WWFileService",
  "name" : "WWFileService",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "WWFileService",
      "targets" : [
        "WWFileService"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WWFileService",
      "module_type" : "SwiftTarget",
      "name" : "WWFileService",
      "path" : "Sources/WWFileService",
      "product_memberships" : [
        "WWFileService"
      ],
      "sources" : [
        "Tools/ImageFormat.swift",
        "Tools/VideoThumbnailGenerator.swift",
        "Utility/Constant.swift",
        "Utility/Extension.swift",
        "Utility/Model.swift",
        "WWFileService.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling WWFileService Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
[4/9] Compiling WWFileService WWFileService.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module WWFileService
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
[6/9] Compiling WWFileService Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
[7/9] Compiling WWFileService ImageFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
[8/9] Compiling WWFileService Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
[9/9] Compiling WWFileService VideoThumbnailGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Privacy/PrivacyInfo.xcprivacy
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/8] Compiling WWFileService WWFileService.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Compiling WWFileService Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
[4/8] Emitting module WWFileService
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
[5/8] Compiling WWFileService VideoThumbnailGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
[6/8] Compiling WWFileService Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
[7/8] Compiling WWFileService Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
[8/8] Compiling WWFileService ImageFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Tools/ImageFormat.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | /// 支援辨識的圖片格式
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/WWFileService/Privacy/PrivacyInfo.xcprivacy
BUILD FAILURE 6.1 macosSpm