Build Information
Failed to build SwiftyUI, reference 2.1.0 (c6eabd), with Swift 6.2 for macOS (SPM) on 3 Aug 2026 14:16:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/haoking/SwiftyUI.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/haoking/SwiftyUI
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at c6eabd9 docs: 更正两处过强的陈述(复审 N1/N2)
Cloned https://github.com/haoking/SwiftyUI.git
Revision (git rev-parse @):
c6eabd9ae9a4d2b4e0c3c82e2b4a2a0baec7c9fe
SUCCESS checkout https://github.com/haoking/SwiftyUI.git at 2.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/haoking/SwiftyUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/19] Compiling SwiftyUI SwiftyToast.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[4/19] Compiling SwiftyUI SwiftyView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[5/20] Compiling SwiftyUI TextEditable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/20] Emitting module SwiftyUI
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[7/20] Compiling SwiftyUI SwiftyImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[8/20] Compiling SwiftyUI SwiftyImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[9/20] Compiling SwiftyUI SwiftyColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[10/20] Compiling SwiftyUI SwiftyGlobal.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[11/20] Compiling SwiftyUI SwiftyAlertView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[12/20] Compiling SwiftyUI SwiftyButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[13/20] Compiling SwiftyUI SwiftyLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[14/20] Compiling SwiftyUI SwiftyPromise.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[15/20] Compiling SwiftyUI SwiftyAlertIcons.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[16/20] Compiling SwiftyUI SwiftyAlertStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[17/20] Compiling SwiftyUI SwiftyThreadPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[18/20] Compiling SwiftyUI SwiftyTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[19/20] Compiling SwiftyUI ImageCacheable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[20/20] Compiling SwiftyUI ImageSettable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
BUILD FAILURE 6.2 macosSpm