Build Information
Failed to build WWGMTColor, reference 1.0.1 (f8887b), with Swift 6.2 for macOS (SPM) on 24 Jun 2025 02:17:53 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/WWGMTColor.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWGMTColor
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at f8887b1 - 加上CaseIterable協定 (可以取得全部的enum)
Cloned https://github.com/William-Weng/WWGMTColor.git
Revision (git rev-parse @):
f8887b1b2305e07a0500360f0b0cdda9fe54c332
SUCCESS checkout https://github.com/William-Weng/WWGMTColor.git at 1.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/William-Weng/WWGMTColor.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/7] Emitting module WWGMTColor
/Users/admin/builder/spi-builder-workspace/Sources/WWGMTColor/Extension.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - UIColr (init function)
[5/7] Compiling WWGMTColor WWGMTColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWGMTColor/Extension.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - UIColr (init function)
[6/7] Compiling WWGMTColor resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWGMTColor/Extension.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - UIColr (init function)
[7/7] Compiling WWGMTColor Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWGMTColor/Extension.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - UIColr (init function)
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/WWGMTColor/Document/GMTColor.csv
/Users/admin/builder/spi-builder-workspace/Sources/WWGMTColor/Document/GMT_RGBchart_a4.pdf
BUILD FAILURE 6.2 macosSpm