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.3.1 (eed421), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 03:22:21 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/prongbang/ScreenProtectorKit.git
Reference: 1.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/prongbang/ScreenProtectorKit
 * tag               1.3.1      -> FETCH_HEAD
HEAD is now at eed4217 Check iOS 17, *
Cloned https://github.com/prongbang/ScreenProtectorKit.git
Revision (git rev-parse @):
eed4217449b0312156c6483fccc0f2b54a45be90
SUCCESS checkout https://github.com/prongbang/ScreenProtectorKit.git at 1.3.1
========================================
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",
  "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",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/prongbang/ScreenProtectorKit.git
[1/115] Fetching screenprotectorkit
Fetched https://github.com/prongbang/ScreenProtectorKit.git from cache (0.56s)
Creating working copy for https://github.com/prongbang/ScreenProtectorKit.git
Working copy of https://github.com/prongbang/ScreenProtectorKit.git resolved at 1.3.1 (eed4217)
warning: '.resolve-product-dependencies': dependency 'screenprotectorkit' is not used by any target
Found 0 product dependencies
========================================
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" : "10.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"
      ],
      "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/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 |
 10 | //  How to used:
[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 |
 10 | //  How to used:
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/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 |
 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/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 |
 10 | //  How to used:
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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 |
 10 | //  How to used:
[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 |
 10 | //  How to used:
BUILD FAILURE 6.1 macosSpm