Build Information
Failed to build HapticFeedback with Swift 6.0 (beta) for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/haptic-feedback.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/space-code/haptic-feedback
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 116edec Add files to comply with community standards (#2)
Cloned https://github.com/space-code/haptic-feedback.git
Revision (git rev-parse @):
116edecea780a234b1ffefee9d0e59eee9ee9c23
SUCCESS checkout https://github.com/space-code/haptic-feedback.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/space-code/haptic-feedback.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module HapticFeedback
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
4 | //
5 |
6 | import UIKit
| `- error: no such module 'UIKit'
7 |
8 | /// Enum defining different types of haptic feedback
[4/4] Compiling HapticFeedback HapticFeedback.swift
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
4 | //
5 |
6 | import UIKit
| `- error: no such module 'UIKit'
7 |
8 | /// Enum defining different types of haptic feedback
BUILD FAILURE 6.0 macosSpm