The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ScreenProtectorKit, reference 1.4.5 (c2bfb6), with Swift 6.1 for macOS (SPM) on 14 Dec 2025 10:03:07 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/prongbang/ScreenProtectorKit.git
Reference: 1.4.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/prongbang/ScreenProtectorKit
 * tag               1.4.5      -> FETCH_HEAD
HEAD is now at c2bfb6b fix: avoid removing overlay views during background transition
Cloned https://github.com/prongbang/ScreenProtectorKit.git
Revision (git rev-parse @):
c2bfb6b1c27900dbb36975a397a534e3fd1d818a
SUCCESS checkout https://github.com/prongbang/ScreenProtectorKit.git at 1.4.5
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/prongbang/ScreenProtectorKit.git
https://github.com/prongbang/ScreenProtectorKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ScreenProtectorKit",
  "name" : "ScreenProtectorKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "ScreenProtectorKit",
      "targets" : [
        "ScreenProtectorKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScreenProtectorKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ScreenProtectorKitTests",
      "path" : "Tests/ScreenProtectorKitTests",
      "sources" : [
        "ScreenProtectorKitTests.swift"
      ],
      "target_dependencies" : [
        "ScreenProtectorKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScreenProtectorKit",
      "module_type" : "SwiftTarget",
      "name" : "ScreenProtectorKit",
      "path" : "Sources/ScreenProtectorKit",
      "product_memberships" : [
        "ScreenProtectorKit"
      ],
      "sources" : [
        "ScreenProtectorKit.swift",
        "ScreenProtectorKitManager.swift",
        "UIColor+Extension.swift",
        "WindowManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/7] Compiling ScreenProtectorKit WindowManager.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 |
 10 | //  How to used:
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] 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 |
 10 | //  How to used:
[5/7] Compiling ScreenProtectorKit ScreenProtectorKitManager.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 |
 10 | //  How to used:
[6/7] 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 |
 10 | //  How to used:
[7/7] 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 |
 10 | //  How to used:
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling ScreenProtectorKit WindowManager.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 |
 10 | //  How to used:
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] 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 |
 10 | //  How to used:
[4/6] 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 |
 10 | //  How to used:
[5/6] Compiling ScreenProtectorKit ScreenProtectorKitManager.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 |
 10 | //  How to used:
[6/6] 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 |
 10 | //  How to used:
BUILD FAILURE 6.1 macosSpm