The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenProtectorKit, reference main (45e1d4), with Swift 6.1 for macOS (SPM) on 3 Mar 2026 22:28:10 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: 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 45e1d46 Merge pull request #9 from Kiruel/fix/ios-crash-update-interface
Cloned https://github.com/prongbang/ScreenProtectorKit.git
Revision (git rev-parse @):
45e1d46a99aa29d83553eda7b192c0cc6c9d05b3
SUCCESS checkout https://github.com/prongbang/ScreenProtectorKit.git at main
========================================
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" : "12.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",
        "UIColor+Extension.swift"
      ],
      "target_dependencies" : [
        "ScreenPreventerKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ScreenPreventerKit",
      "module_type" : "BinaryTarget",
      "name" : "ScreenPreventerKit",
      "path" : "Frameworks/ScreenPreventerKit.xcframework",
      "product_memberships" : [
        "ScreenProtectorKit"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "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
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 |
[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 |
[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 |
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] 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 |
[3/4] 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 |
[4/4] 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 |
BUILD FAILURE 6.1 macosSpm