Build Information
Failed to build SCNViewController 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.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/builder/builds/TDmZkXJm/0/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "scnviewcontroller",
"name": "SCNViewController",
"url": "https://github.com/capnslipp/SCNViewController.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SCNViewController",
"dependencies": [
]
}
]
}
Fetching https://github.com/capnslipp/SCNViewController.git from cache
Fetched https://github.com/capnslipp/SCNViewController.git (0.15s)
Creating working copy for https://github.com/capnslipp/SCNViewController.git
Working copy of https://github.com/capnslipp/SCNViewController.git resolved at 1.2.0
warning: '.resolve-product-dependencies': dependency 'scnviewcontroller' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/capnslipp/SCNViewController.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/4] Emitting module SCNViewController
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[2/4] Compiling SCNViewController SCNViewExtensions.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[3/4] Compiling SCNViewController SCNViewController.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling SCNViewController ViewOption.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5: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/4] Emitting module SCNViewController
/Users/builder/builds/TDmZkXJm/0/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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[3/4] Compiling SCNViewController SCNViewExtensions.swift
/Users/builder/builds/TDmZkXJm/0/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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 macosSpm