Build Information
Failed to build WWExpandableTextView, reference main (8fb7db), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 03:30:13 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWExpandableTextView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWExpandableTextView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8fb7db7 - 移除測試Code
Cloned https://github.com/William-Weng/WWExpandableTextView.git
Revision (git rev-parse @):
8fb7db74d9b3e5faf9dbb790444dc0f4ba527968
SUCCESS checkout https://github.com/William-Weng/WWExpandableTextView.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": "wwexpandabletextview",
"name": "WWExpandableTextView",
"url": "https://github.com/William-Weng/WWExpandableTextView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWExpandableTextView",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/William-Weng/WWExpandableTextView.git
[1/111] Fetching wwexpandabletextview
Fetched https://github.com/William-Weng/WWExpandableTextView.git from cache (0.92s)
Creating working copy for https://github.com/William-Weng/WWExpandableTextView.git
Working copy of https://github.com/William-Weng/WWExpandableTextView.git resolved at main (8fb7db7)
warning: '.resolve-product-dependencies': dependency 'wwexpandabletextview' 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/WWExpandableTextView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Copying WWExpandableTextView.xib
[2/4] Copying Privacy
[3/4] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module WWExpandableTextView
/Users/admin/builder/spi-builder-workspace/Sources/WWExpandableTextView/WWExpandableTextView.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 可限制行數的UITextView
[6/7] Compiling WWExpandableTextView WWExpandableTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWExpandableTextView/WWExpandableTextView.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 可限制行數的UITextView
[7/7] Compiling WWExpandableTextView resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWExpandableTextView/WWExpandableTextView.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 可限制行數的UITextView
BUILD FAILURE 6.3 macosSpm