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 BackpressedKit, reference main (482816), with Swift 6.0 for macOS (SPM) on 29 Apr 2025 03:59:04 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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/kingsword09/BackpressedKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kingsword09/BackpressedKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4828161 :page_facing_up: Create LICENSE
Cloned https://github.com/kingsword09/BackpressedKit.git
Revision (git rev-parse @):
4828161af80bdc522f18e8ec9f516ea2fd34a3c8
SUCCESS checkout https://github.com/kingsword09/BackpressedKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kingsword09/BackpressedKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module BackpressedUI
/Users/admin/builder/spi-builder-workspace/Sources/BackpressedUI/EdgeAnimationView.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // @see: https://github.com/BioforestChain/dweb_browser/blob/6dcb4b14e6f394ca015cf01925b2c4ac8afb494d/next/kmp/app/iosApp/DwebBrowser/DwebBrowser/Desktop/EdgeAnimationView.swift#L11
[5/5] Compiling BackpressedUI EdgeAnimationView.swift
/Users/admin/builder/spi-builder-workspace/Sources/BackpressedUI/EdgeAnimationView.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // @see: https://github.com/BioforestChain/dweb_browser/blob/6dcb4b14e6f394ca015cf01925b2c4ac8afb494d/next/kmp/app/iosApp/DwebBrowser/DwebBrowser/Desktop/EdgeAnimationView.swift#L11
BUILD FAILURE 6.0 macosSpm