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 AlertPresenter, reference main (15bb36), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 01:58:37 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/ChrisMash/AlertPresenter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChrisMash/AlertPresenter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 15bb368 Update README.md
Cloned https://github.com/ChrisMash/AlertPresenter.git
Revision (git rev-parse @):
15bb368a0f2b7ba25a66d9172018f9d21768df3f
SUCCESS checkout https://github.com/ChrisMash/AlertPresenter.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ChrisMash/AlertPresenter.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/9] Emitting module AlertPresenter
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
[4/9] Compiling AlertPresenter AlertModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
[5/9] Compiling AlertPresenter AlertPresenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
[6/9] Compiling AlertPresenter Queue.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
[7/9] Compiling AlertPresenter AlertWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
[8/9] Compiling AlertPresenter PopoverPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
[9/9] Compiling AlertPresenter ContainterViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
BUILD FAILURE 6.2 macosSpm