Build Information
Failed to build WWFileService, reference main (6cc3ff), with Swift 6.3 for macOS (SPM) on 20 Aug 2026 03:43:37 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.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
========================================
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": "wwfileservice",
"name": "WWFileService",
"url": "https://github.com/William-Weng/WWFileService.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWFileService",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/William-Weng/WWFileService.git
[1/197] Fetching wwfileservice
Fetched https://github.com/William-Weng/WWFileService.git from cache (1.10s)
Creating working copy for https://github.com/William-Weng/WWFileService.git
Working copy of https://github.com/William-Weng/WWFileService.git resolved at main (6cc3ff0)
warning: '.resolve-product-dependencies': dependency 'wwfileservice' 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/WWFileService.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-69A768CDF2A0BEE1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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 | /// 支援辨識的圖片格式
[4/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 | /// 支援辨識的圖片格式
[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 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 | /// 支援辨識的圖片格式
[8/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 | /// 支援辨識的圖片格式
[9/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 | /// 支援辨識的圖片格式
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.3 macosSpm