Build Information
Failed to build RVS_CalendarInput with Swift 6.0 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/RiftValleySoftware/RVS_CalendarInput.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RiftValleySoftware/RVS_CalendarInput
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7acb104 - Added privacy declarations. - Had to remove SwiftLint, as it stopped working.
Cloned https://github.com/RiftValleySoftware/RVS_CalendarInput.git
Revision (git rev-parse @):
7acb1045ce7eb85bfb223aae74df7bbcf0e76ee9
SUCCESS checkout https://github.com/RiftValleySoftware/RVS_CalendarInput.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/RiftValleySoftware/RVS_CalendarInput.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 RVS_CalendarInput
/Users/admin/builder/spi-builder-workspace/Sources/RVS_CalendarInput/RVS_CalendarInput.swift:24:8: error: no such module 'UIKit'
22 | */
23 |
24 | import UIKit
| `- error: no such module 'UIKit'
25 |
26 | #if os(iOS) // This prevents the IB errors from showing up, under SPM (From SO Answer: https://stackoverflow.com/a/66334661/879365).
[4/4] Compiling RVS_CalendarInput RVS_CalendarInput.swift
/Users/admin/builder/spi-builder-workspace/Sources/RVS_CalendarInput/RVS_CalendarInput.swift:24:8: error: no such module 'UIKit'
22 | */
23 |
24 | import UIKit
| `- error: no such module 'UIKit'
25 |
26 | #if os(iOS) // This prevents the IB errors from showing up, under SPM (From SO Answer: https://stackoverflow.com/a/66334661/879365).
BUILD FAILURE 6.0 macosSpm