The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swiftui-hosting, reference 2.6.0 (f0f309), with Swift 6.2 for macOS (SPM) on 25 Oct 2025 16:06:58 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

Build 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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftui-hosting",
      "name": "swiftui-hosting",
      "url": "https://github.com/FluidGroup/swiftui-Hosting.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-Hosting",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/FluidGroup/swiftui-Hosting.git
[1/246] Fetching swiftui-hosting
Fetched https://github.com/FluidGroup/swiftui-Hosting.git from cache (0.71s)
Creating working copy for https://github.com/FluidGroup/swiftui-Hosting.git
Working copy of https://github.com/FluidGroup/swiftui-Hosting.git resolved at 2.6.0 (f0f309c)
warning: '.resolve-product-dependencies': dependency 'swiftui-hosting' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/FluidGroup/swiftui-Hosting.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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 {
[4/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 {
[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 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 {
[7/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 {
[8/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 {
[9/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 {
BUILD FAILURE 6.2 macosSpm