Build Information
Failed to build WWImageFormat, reference main (d438af), with Swift 6.1 for macOS (SPM) on 25 Jun 2025 11:51:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWImageFormat.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWImageFormat
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d438af7 - 修正錯字…
Cloned https://github.com/William-Weng/WWImageFormat.git
Revision (git rev-parse @):
d438af72e8d31ba1ddffaf99ce282da99fc9a4df
SUCCESS checkout https://github.com/William-Weng/WWImageFormat.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",
"dependencies": [
{
"identity": "wwimageformat",
"name": "WWImageFormat",
"url": "https://github.com/William-Weng/WWImageFormat.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWImageFormat",
"dependencies": [
]
}
]
}
Fetching https://github.com/William-Weng/WWImageFormat.git
[1/74] Fetching wwimageformat
Fetched https://github.com/William-Weng/WWImageFormat.git from cache (1.02s)
Creating working copy for https://github.com/William-Weng/WWImageFormat.git
Working copy of https://github.com/William-Weng/WWImageFormat.git resolved at main (d438af7)
warning: '.resolve-product-dependencies': dependency 'wwimageformat' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/William-Weng/WWImageFormat.git
https://github.com/William-Weng/WWImageFormat.git
{
"dependencies" : [
],
"manifest_display_name" : "WWImageFormat",
"name" : "WWImageFormat",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "WWImageFormat",
"targets" : [
"WWImageFormat"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "WWImageFormat",
"module_type" : "SwiftTarget",
"name" : "WWImageFormat",
"path" : "Sources/WWImageFormat",
"product_memberships" : [
"WWImageFormat"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WWImageFormat/Privacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Utility/Constant.swift",
"Utility/Extension.swift",
"WWImageFormat.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/8] Emitting module WWImageFormat
/Users/admin/builder/spi-builder-workspace/Sources/WWImageFormat/WWImageFormat.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 解析圖片資料格式
[5/8] Compiling WWImageFormat Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWImageFormat/WWImageFormat.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 解析圖片資料格式
[6/8] Compiling WWImageFormat WWImageFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWImageFormat/WWImageFormat.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 解析圖片資料格式
[7/8] Compiling WWImageFormat Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWImageFormat/WWImageFormat.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 解析圖片資料格式
[8/8] Compiling WWImageFormat resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWImageFormat/WWImageFormat.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/6] Compiling WWImageFormat resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWImageFormat/WWImageFormat.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 解析圖片資料格式
[3/6] Compiling WWImageFormat WWImageFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWImageFormat/WWImageFormat.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)
[4/6] Emitting module WWImageFormat
/Users/admin/builder/spi-builder-workspace/Sources/WWImageFormat/WWImageFormat.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 解析圖片資料格式
[5/6] Compiling WWImageFormat Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWImageFormat/WWImageFormat.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 解析圖片資料格式
[6/6] Compiling WWImageFormat Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWImageFormat/WWImageFormat.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