Build Information
Failed to build PrettyCards 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.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simla-tech/PrettyCards.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/simla-tech/PrettyCards
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0cf8e2f Update sources path
Cloned https://github.com/simla-tech/PrettyCards.git
Revision (git rev-parse @):
0cf8e2f1ac96ac5b95adc9c44a7e8960161ee1fc
SUCCESS checkout https://github.com/simla-tech/PrettyCards.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/simla-tech/PrettyCards.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Emitting module PrettyCards
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[2/5] Compiling PrettyCards Card.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[3/5] Compiling PrettyCards CALayer+ApplyShadow.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[4/5] Compiling PrettyCards Shadow.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[5/5] Compiling PrettyCards Animation.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Emitting module PrettyCards
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[2/5] Compiling PrettyCards CALayer+ApplyShadow.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[3/5] Compiling PrettyCards Shadow.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[4/5] Compiling PrettyCards Animation.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[5/5] Compiling PrettyCards Card.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 macosSpm