Build Information
Failed to build UDAExplainer with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.41.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kjuly/UDAExplainer.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kjuly/UDAExplainer
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 08c58fc UDAExplainer.podspec: spec.version=1.3.0
Cloned https://github.com/Kjuly/UDAExplainer.git
Revision (git rev-parse @):
08c58fc7228e5191edb10231b4843703c2cec87e
SUCCESS checkout https://github.com/Kjuly/UDAExplainer.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/Kjuly/UDAExplainer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Copying Info.plist
[0/3] Copying UDAExplainerLocalizations.strings
[4/14] Compiling UDAExplainer UDAExplainerView.swift
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[5/14] Compiling UDAExplainer UDAExplainerType.swift
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[6/15] Compiling UDAExplainer UDAExplainerHostingController.swift
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[7/15] Compiling UDAExplainer UDAExplainerConfiguration.swift
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[8/15] Compiling UDAExplainer UDAExplainerDataSourceProtocol.swift
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[9/15] Compiling UDAExplainer resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/15] Emitting module UDAExplainer
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[11/15] Compiling UDAExplainer UDAExplainerLocalizations.swift
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[12/15] Compiling UDAExplainer View+UDAExplainer.swift
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[13/15] Compiling UDAExplainer UDAExplainerDefaultDataSource.swift
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[14/15] Compiling UDAExplainer UDAExplainerUIDimension.swift
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[15/15] Compiling UDAExplainer UDAExplainerColorSet.swift
/Users/admin/builder/spi-builder-workspace/UDAExplainer/Sources/UDAExplainerColorSet.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 macosSpm