Build Information
Failed to build Elephant with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/s2mr/Elephant.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/s2mr/Elephant
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c6cb1d4 Update README
Cloned https://github.com/s2mr/Elephant.git
Revision (git rev-parse @):
c6cb1d4e39a3cceadf44c0b95e11230e3eec0904
SUCCESS checkout https://github.com/s2mr/Elephant.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/s2mr/Elephant.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module Elephant
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[2/4] Compiling Elephant AnimationOwner.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[3/4] Compiling Elephant JavaScriptExecutor.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling Elephant SVGLoader.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[5/5] Compiling Elephant SVGView.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
import UIKit
^
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/Info.plist
[0/1] Planning build
Building for debugging...
[1/4] Compiling Elephant AnimationOwner.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[2/4] Compiling Elephant SVGLoader.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[3/4] Compiling Elephant JavaScriptExecutor.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module Elephant
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[5/5] Compiling Elephant SVGView.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
import UIKit
^
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Elephant/Info.plist
BUILD FAILURE 5.8 macosSpm