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 BrowserKit, reference main (58c21c), with Swift 6.1 for macOS (SPM) on 30 Aug 2025 07:49:20 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markbattistella/BrowserKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markbattistella/BrowserKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 58c21cd 2025-08-30
Cloned https://github.com/markbattistella/BrowserKit.git
Revision (git rev-parse @):
58c21cd9e4920e85a3cc6a4581a3b5c0d3c91bd4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/BrowserKit.git at main
========================================
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": "browserkit",
      "name": "BrowserKit",
      "url": "https://github.com/markbattistella/BrowserKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BrowserKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/markbattistella/BrowserKit.git
[3/73] Fetching browserkit
Fetched https://github.com/markbattistella/BrowserKit.git from cache (0.64s)
Creating working copy for https://github.com/markbattistella/BrowserKit.git
Working copy of https://github.com/markbattistella/BrowserKit.git resolved at main (58c21cd)
warning: '.resolve-product-dependencies': dependency 'browserkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/markbattistella/BrowserKit.git
https://github.com/markbattistella/BrowserKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BrowserKit",
  "name" : "BrowserKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "BrowserKit",
      "targets" : [
        "BrowserKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BrowserKit",
      "module_type" : "SwiftTarget",
      "name" : "BrowserKit",
      "path" : "Sources/BrowserKit",
      "product_memberships" : [
        "BrowserKit"
      ],
      "sources" : [
        "Internal/AgnosticViewRepresentable.swift",
        "Internal/SafariWebView.swift",
        "Internal/WebKitWebView.swift",
        "Internal/WebViewType.swift",
        "Public/BrowserView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/8] Compiling BrowserKit WebViewType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling BrowserKit AgnosticViewRepresentable.swift
[5/8] Compiling BrowserKit WebKitWebView.swift
[6/8] Compiling BrowserKit SafariWebView.swift
[7/8] Emitting module BrowserKit
/Users/admin/builder/spi-builder-workspace/Sources/BrowserKit/Public/BrowserView.swift:34:42: error: cannot find type 'SFSafariViewController' in scope
 32 |
 33 |     /// A closure used to configure the Safari view controller's configuration.
 34 |     private let configureSafari: ((inout SFSafariViewController.Configuration) -> Void)?
    |                                          `- error: cannot find type 'SFSafariViewController' in scope
 35 |
 36 |     /// A closure used to configure the `SFSafariViewController` instance directly.
/Users/admin/builder/spi-builder-workspace/Sources/BrowserKit/Public/BrowserView.swift:37:40: error: cannot find type 'SFSafariViewController' in scope
 35 |
 36 |     /// A closure used to configure the `SFSafariViewController` instance directly.
 37 |     private let configureSafariView: ((SFSafariViewController) -> Void)?
    |                                        `- error: cannot find type 'SFSafariViewController' in scope
 38 |
 39 |     /// A closure used to configure the `WKWebViewConfiguration` object.
[8/8] Compiling BrowserKit BrowserView.swift
/Users/admin/builder/spi-builder-workspace/Sources/BrowserKit/Public/BrowserView.swift:34:42: error: cannot find type 'SFSafariViewController' in scope
 32 |
 33 |     /// A closure used to configure the Safari view controller's configuration.
 34 |     private let configureSafari: ((inout SFSafariViewController.Configuration) -> Void)?
    |                                          `- error: cannot find type 'SFSafariViewController' in scope
 35 |
 36 |     /// A closure used to configure the `SFSafariViewController` instance directly.
/Users/admin/builder/spi-builder-workspace/Sources/BrowserKit/Public/BrowserView.swift:37:40: error: cannot find type 'SFSafariViewController' in scope
 35 |
 36 |     /// A closure used to configure the `SFSafariViewController` instance directly.
 37 |     private let configureSafariView: ((SFSafariViewController) -> Void)?
    |                                        `- error: cannot find type 'SFSafariViewController' in scope
 38 |
 39 |     /// A closure used to configure the `WKWebViewConfiguration` object.
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/7] Compiling BrowserKit BrowserView.swift
/Users/admin/builder/spi-builder-workspace/Sources/BrowserKit/Public/BrowserView.swift:34:42: error: cannot find type 'SFSafariViewController' in scope
 32 |
 33 |     /// A closure used to configure the Safari view controller's configuration.
 34 |     private let configureSafari: ((inout SFSafariViewController.Configuration) -> Void)?
    |                                          `- error: cannot find type 'SFSafariViewController' in scope
 35 |
 36 |     /// A closure used to configure the `SFSafariViewController` instance directly.
/Users/admin/builder/spi-builder-workspace/Sources/BrowserKit/Public/BrowserView.swift:37:40: error: cannot find type 'SFSafariViewController' in scope
 35 |
 36 |     /// A closure used to configure the `SFSafariViewController` instance directly.
 37 |     private let configureSafariView: ((SFSafariViewController) -> Void)?
    |                                        `- error: cannot find type 'SFSafariViewController' in scope
 38 |
 39 |     /// A closure used to configure the `WKWebViewConfiguration` object.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Compiling BrowserKit WebViewType.swift
[4/7] Compiling BrowserKit AgnosticViewRepresentable.swift
[5/7] Compiling BrowserKit SafariWebView.swift
[6/7] Emitting module BrowserKit
/Users/admin/builder/spi-builder-workspace/Sources/BrowserKit/Public/BrowserView.swift:34:42: error: cannot find type 'SFSafariViewController' in scope
 32 |
 33 |     /// A closure used to configure the Safari view controller's configuration.
 34 |     private let configureSafari: ((inout SFSafariViewController.Configuration) -> Void)?
    |                                          `- error: cannot find type 'SFSafariViewController' in scope
 35 |
 36 |     /// A closure used to configure the `SFSafariViewController` instance directly.
/Users/admin/builder/spi-builder-workspace/Sources/BrowserKit/Public/BrowserView.swift:37:40: error: cannot find type 'SFSafariViewController' in scope
 35 |
 36 |     /// A closure used to configure the `SFSafariViewController` instance directly.
 37 |     private let configureSafariView: ((SFSafariViewController) -> Void)?
    |                                        `- error: cannot find type 'SFSafariViewController' in scope
 38 |
 39 |     /// A closure used to configure the `WKWebViewConfiguration` object.
[7/7] Compiling BrowserKit WebKitWebView.swift
BUILD FAILURE 6.1 macosSpm