Build Information
Failed to build WWFileService, reference main (6cc3ff), with Swift 6.1 for macOS (SPM) on 20 Aug 2026 03:42:59 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWFileService.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWFileService
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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] 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/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 | /// 支援辨識的圖片格式
[6/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 | /// 支援辨識的圖片格式
[7/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 | /// 支援辨識的圖片格式
[8/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 | /// 支援辨識的圖片格式
[9/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 | /// 支援辨識的圖片格式
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/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 | /// 支援辨識的圖片格式
[3/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 | /// 支援辨識的圖片格式
[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 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 | /// 支援辨識的圖片格式
[6/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 | /// 支援辨識的圖片格式
[7/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 | /// 支援辨識的圖片格式
[8/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 | /// 支援辨識的圖片格式
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