The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenProtectorKit, reference 1.5.2 (09d945), with Swift 6.3 for macOS (SPM) on 7 Jul 2026 12:42:25 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build 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: 1.5.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/prongbang/ScreenProtectorKit
 * tag               1.5.2      -> FETCH_HEAD
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 1.5.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "screenprotectorkit",
      "name": "ScreenProtectorKit",
      "url": "https://github.com/prongbang/ScreenProtectorKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ScreenProtectorKit",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/prongbang/ScreenProtectorKit.git
[1/290] Fetching screenprotectorkit
Fetched https://github.com/prongbang/ScreenProtectorKit.git from cache (0.80s)
Creating working copy for https://github.com/prongbang/ScreenProtectorKit.git
Working copy of https://github.com/prongbang/ScreenProtectorKit.git resolved at 1.5.2 (09d9454)
warning: '.resolve-product-dependencies': dependency 'screenprotectorkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/prongbang/ScreenProtectorKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.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 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)
[5/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)
BUILD FAILURE 6.3 macosSpm