Build Information
Failed to build ScreenProtectorKit, reference main (09d945), with Swift 6.2 for macOS (SPM) on 7 Jul 2026 12:19:49 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/prongbang/ScreenProtectorKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/prongbang/ScreenProtectorKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 09d9454 fix: reapply protection after lifecycle changes
Cloned https://github.com/prongbang/ScreenProtectorKit.git
Revision (git rev-parse @):
09d945458a586731a51f4d4cafe2a4a0bdcaaeaa
SUCCESS checkout https://github.com/prongbang/ScreenProtectorKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/prongbang/ScreenProtectorKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module ScreenProtectorKit
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import ScreenPreventerKit
10 | #if canImport(SwiftUI)
[4/5] Compiling ScreenProtectorKit UIColor+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import ScreenPreventerKit
10 | #if canImport(SwiftUI)
[5/5] Compiling ScreenProtectorKit ScreenProtectorKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import ScreenPreventerKit
10 | #if canImport(SwiftUI)
BUILD FAILURE 6.2 macosSpm