Build Information
Failed to build WWSegmentControlView, reference main (318fd8), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 08:51:42 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/WWSegmentControlView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWSegmentControlView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 318fd81 - 加上PrivacyInfo.xcprivacy - 更新ReadMe
Cloned https://github.com/William-Weng/WWSegmentControlView.git
Revision (git rev-parse @):
318fd81dfc8c9926a633df4f9857a0d8b76f962f
SUCCESS checkout https://github.com/William-Weng/WWSegmentControlView.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": "wwsegmentcontrolview",
"name": "WWSegmentControlView",
"url": "https://github.com/William-Weng/WWSegmentControlView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWSegmentControlView",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/William-Weng/WWSegmentControlView.git
[1/150] Fetching wwsegmentcontrolview
Fetched https://github.com/William-Weng/WWSegmentControlView.git from cache (4.38s)
Creating working copy for https://github.com/William-Weng/WWSegmentControlView.git
Working copy of https://github.com/William-Weng/WWSegmentControlView.git resolved at main (318fd81)
warning: '.resolve-product-dependencies': dependency 'wwsegmentcontrolview' 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/WWSegmentControlView.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 WWSegmentControlView.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/8] Emitting module WWSegmentControlView
/Users/admin/builder/spi-builder-workspace/Sources/WWSegmentControlView/Extension+.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - Int (class function)
[6/8] Compiling WWSegmentControlView WWSegmentControlView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWSegmentControlView/Extension+.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - Int (class function)
[7/8] Compiling WWSegmentControlView resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWSegmentControlView/Extension+.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - Int (class function)
[8/8] Compiling WWSegmentControlView Extension+.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWSegmentControlView/Extension+.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - Int (class function)
BUILD FAILURE 6.3 macosSpm