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.2 (beta) for macOS (SPM) on 21 Jun 2025 23:08:28 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
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.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.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 |
 10 | //  How to used:
[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 |
 10 | //  How to used:
[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 |
 10 | //  How to used:
BUILD FAILURE 6.2 macosSpm