Build Information
Failed to build CoreProtocolLibrary, reference main (ea93f5), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 02:15:45 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/tommysima163/CoreProtocolLibrary.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tommysima163/CoreProtocolLibrary
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ea93f53 fix a issue
Cloned https://github.com/tommysima163/CoreProtocolLibrary.git
Revision (git rev-parse @):
ea93f534db7a7c0b8d6ba5b6db7b1ddd3b917301
SUCCESS checkout https://github.com/tommysima163/CoreProtocolLibrary.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": "coreprotocollibrary",
"name": "CoreProtocolLibrary",
"url": "https://github.com/tommysima163/CoreProtocolLibrary.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CoreProtocolLibrary",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/tommysima163/CoreProtocolLibrary.git
[1/14] Fetching coreprotocollibrary
Fetched https://github.com/tommysima163/CoreProtocolLibrary.git from cache (0.56s)
Creating working copy for https://github.com/tommysima163/CoreProtocolLibrary.git
Working copy of https://github.com/tommysima163/CoreProtocolLibrary.git resolved at main (ea93f53)
warning: '.resolve-product-dependencies': dependency 'coreprotocollibrary' 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/tommysima163/CoreProtocolLibrary.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module CoreProtocolLibrary
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
[4/6] Compiling CoreProtocolLibrary LoginModuleProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
[5/6] Compiling CoreProtocolLibrary CoreProtocolLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
[6/6] Compiling CoreProtocolLibrary ModuleRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
BUILD FAILURE 6.3 macosSpm