Build Information
Failed to build LNPreviewToContextMenu 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/LeoNatan/LNPreviewToContextMenu.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LeoNatan/LNPreviewToContextMenu
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at afaac2f 1.3
Cloned https://github.com/LeoNatan/LNPreviewToContextMenu.git
Revision (git rev-parse @):
afaac2f725edc4270fd3256a00e64cb9de37b62b
SUCCESS checkout https://github.com/LeoNatan/LNPreviewToContextMenu.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/LeoNatan/LNPreviewToContextMenu.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...
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:9: fatal error: module 'UIKit' not found
12 | @import UIKit;
| ~~~~~~~^~~~~
1 error generated.
[0/5] Compiling UIViewController+UIPreviewContextCompat.m
BUILD FAILURE 6.0 macosSpm