Build Information
Failed to build SCNViewController 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/capnslipp/SCNViewController.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/capnslipp/SCNViewController
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 84c029c Bumped version to 1.2.0
Cloned https://github.com/capnslipp/SCNViewController.git
Revision (git rev-parse @):
84c029cd3ef24ca725bdcf4d193bafb7b4fba116
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/capnslipp/SCNViewController.git at 1.2.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/capnslipp/SCNViewController.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/4] Compiling SCNViewController SCNViewExtensions.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[2/4] Compiling SCNViewController ViewOption.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SCNViewController
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling SCNViewController SCNViewController.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[0/1] Planning build
Building for debugging...
[1/4] Compiling SCNViewController SCNViewExtensions.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module SCNViewController
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[3/4] Compiling SCNViewController ViewOption.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling SCNViewController SCNViewController.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
BUILD FAILURE 5.8 macosSpm