Build Information
Failed to build WWOneTimePasswordView, reference main (76657d), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 19:21:11 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/WWOneTimePasswordView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWOneTimePasswordView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 76657d8 - update Example.webp
Cloned https://github.com/William-Weng/WWOneTimePasswordView.git
Revision (git rev-parse @):
76657d8c135aefd6fbd5a006b2e066618e8573d6
SUCCESS checkout https://github.com/William-Weng/WWOneTimePasswordView.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": "wwonetimepasswordview",
"name": "WWOneTimePasswordView",
"url": "https://github.com/William-Weng/WWOneTimePasswordView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWOneTimePasswordView",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/William-Weng/WWOneTimePasswordView.git
[1/282] Fetching wwonetimepasswordview
Fetched https://github.com/William-Weng/WWOneTimePasswordView.git from cache (1.00s)
Creating working copy for https://github.com/William-Weng/WWOneTimePasswordView.git
Working copy of https://github.com/William-Weng/WWOneTimePasswordView.git resolved at main (76657d8)
warning: '.resolve-product-dependencies': dependency 'wwonetimepasswordview' 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/WWOneTimePasswordView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Privacy
[2/3] Write swift-version--6988338F2F200930.txt
[4/10] Compiling WWOneTimePasswordView WWOneTimePasswordView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 常數
[5/10] Compiling WWOneTimePasswordView resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.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)
[6/10] Emitting module WWOneTimePasswordView
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 常數
[7/10] Compiling WWOneTimePasswordView CodeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 常數
[8/10] Compiling WWOneTimePasswordView Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 常數
[9/10] Compiling WWOneTimePasswordView Delegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 常數
[10/10] Compiling WWOneTimePasswordView Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 常數
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Xib/CodeView.xib
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Xib/WWOneTimePasswordView.xib
BUILD FAILURE 6.3 macosSpm