Build Information
Failed to build AlertController with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mezhevikin/AlertController.git
Reference: 0.0.4
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/mezhevikin/AlertController
* tag 0.0.4 -> FETCH_HEAD
HEAD is now at aa6745b Rename method setCheked -> setChecked
Cloned https://github.com/mezhevikin/AlertController.git
Revision (git rev-parse @):
aa6745b8bfa6de2ae7783e39148baf20df9c76b1
SUCCESS checkout https://github.com/mezhevikin/AlertController.git at 0.0.4
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/mezhevikin/AlertController.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module AlertController
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AlertController/AlertController.swift:2:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling AlertController AlertController.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AlertController/AlertController.swift:2:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module AlertController
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AlertController/AlertController.swift:2:8: error: no such module 'UIKit'
import UIKit
^
[3/3] Compiling AlertController AlertController.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AlertController/AlertController.swift:2:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 macosSpm