Build Information
Failed to build swiftui-hosting, reference 2.6.0 (f0f309), with Swift 6.1 for macOS (SPM) on 25 Oct 2025 16:05:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/swiftui-Hosting.git
Reference: 2.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/swiftui-Hosting
* tag 2.6.0 -> FETCH_HEAD
HEAD is now at f0f309c SwiftUIHostingViewController uses HostingController directly (#21)
Cloned https://github.com/FluidGroup/swiftui-Hosting.git
Revision (git rev-parse @):
f0f309cbb9a7e055bc57e931a3506ebb26bf0134
SUCCESS checkout https://github.com/FluidGroup/swiftui-Hosting.git at 2.6.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/FluidGroup/swiftui-Hosting.git
https://github.com/FluidGroup/swiftui-Hosting.git
{
"dependencies" : [
],
"manifest_display_name" : "swiftui-hosting",
"name" : "swiftui-hosting",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftUIHosting",
"targets" : [
"SwiftUIHosting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"6"
],
"targets" : [
{
"c99name" : "SwiftUIHostingTests",
"module_type" : "SwiftTarget",
"name" : "SwiftUIHostingTests",
"path" : "Tests/SwiftUIHostingTests",
"sources" : [
"MyLibraryTests.swift"
],
"target_dependencies" : [
"SwiftUIHosting"
],
"type" : "test"
},
{
"c99name" : "SwiftUIHosting",
"module_type" : "SwiftTarget",
"name" : "SwiftUIHosting",
"path" : "Sources/SwiftUIHosting",
"product_memberships" : [
"SwiftUIHosting"
],
"sources" : [
"BaseModifier.swift",
"Example.swift",
"HostingController.swift",
"SwiftUIHostingView.swift",
"SwiftUIHostingViewController.swift",
"UIResponder+.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Compiling SwiftUIHosting SwiftUIHostingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
[4/9] Emitting module SwiftUIHosting
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
[5/9] Compiling SwiftUIHosting SwiftUIHostingViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
[6/9] Compiling SwiftUIHosting BaseModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
[7/9] Compiling SwiftUIHosting HostingController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
[8/9] Compiling SwiftUIHosting UIResponder+.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
[9/9] Compiling SwiftUIHosting Example.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/8] Compiling SwiftUIHosting UIResponder+.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
[3/8] Compiling SwiftUIHosting HostingController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
[4/8] Compiling SwiftUIHosting Example.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
[5/8] Compiling SwiftUIHosting SwiftUIHostingViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
[6/8] Compiling SwiftUIHosting SwiftUIHostingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module SwiftUIHosting
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
[8/8] Compiling SwiftUIHosting BaseModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | extension UIResponder {
BUILD FAILURE 6.1 macosSpm