The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CRToastSwift, reference master (570435), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 02:19:03 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/krugazor/crtoastswift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/krugazor/crtoastswift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5704358 Merge branch 'release/0.1.2'
Cloned https://github.com/krugazor/crtoastswift.git
Revision (git rev-parse @):
5704358ec6326304407cdbddc166b9fcb7db335f
SUCCESS checkout https://github.com/krugazor/crtoastswift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/krugazor/crtoastswift.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/8] Compiling CRToastSwift CRToastViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
[4/8] Compiling CRToastSwift CRToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
[5/8] Compiling CRToastSwift CRToastWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
[6/8] Compiling CRToastSwift CRToastManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module CRToastSwift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
[8/8] Compiling CRToastSwift CRToastConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
BUILD FAILURE 6.2 macosSpm