Build Information
Failed to build WWScratchCard, reference main (33a7bb), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 06:30:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWScratchCard.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWScratchCard
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 33a7bb0 - 加上PrivacyInfo.xcprivacy - 更新ReadMe
Cloned https://github.com/William-Weng/WWScratchCard.git
Revision (git rev-parse @):
33a7bb0a7a8ebd175efff7c4f80dc5cbdbaa1d0c
SUCCESS checkout https://github.com/William-Weng/WWScratchCard.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/William-Weng/WWScratchCard.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Privacy
[2/3] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Emitting module WWScratchCard
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - CGSize (function)
[5/9] Compiling WWScratchCard WWScratchCardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - CGSize (function)
[6/9] Compiling WWScratchCard Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - CGSize (function)
[7/9] Compiling WWScratchCard WWScratchCardDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - CGSize (function)
[8/9] Compiling WWScratchCard WWScratchMaskView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - CGSize (function)
[9/9] Compiling WWScratchCard resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - CGSize (function)
BUILD FAILURE 6.2 macosSpm