Build Information
Failed to build WWBarcodeSlicer, reference 1.0.2 (4c5701), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 02:15:47 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/WWBarcodeSlicer.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWBarcodeSlicer
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 4c5701d - 修正ReadMe
Cloned https://github.com/William-Weng/WWBarcodeSlicer.git
Revision (git rev-parse @):
4c5701da8e3bb45a15583c55534ee8c38e5d0968
SUCCESS checkout https://github.com/William-Weng/WWBarcodeSlicer.git at 1.0.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/William-Weng/WWBarcodeSlicer.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/8] Emitting module WWBarcodeSlicer
/Users/admin/builder/spi-builder-workspace/Sources/WWBarcodeSlicer/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 常數
[5/8] Compiling WWBarcodeSlicer Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWBarcodeSlicer/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 常數
[6/8] Compiling WWBarcodeSlicer resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWBarcodeSlicer/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 常數
[7/8] Compiling WWBarcodeSlicer Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWBarcodeSlicer/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 常數
[8/8] Compiling WWBarcodeSlicer WWBarcodeSlicer.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWBarcodeSlicer/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - 常數
BUILD FAILURE 6.2 macosSpm