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 Snacker, reference main (e9cb90), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 11:23:34 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/space-code/snacker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/space-code/snacker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e9cb90e Bump actions/checkout from 2 to 4 (#3)
Cloned https://github.com/space-code/snacker.git
Revision (git rev-parse @):
e9cb90e857300d688b674e8ba58395900d48a08c
SUCCESS checkout https://github.com/space-code/snacker.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/space-code/snacker.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
[3/9] Compiling Snacker SnackbarData.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[4/9] Compiling Snacker SnackbarAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module Snacker
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[6/9] Compiling Snacker Snacker.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[7/9] Compiling Snacker SnackbarAlignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[8/9] Compiling Snacker SnackbarController.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[9/9] Compiling Snacker SnackbarInsets.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/snacker/Resources/Media.xcassets
BUILD FAILURE 6.2 macosSpm