The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SafariView, reference main (e22bbb), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 02:45:08 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bestler/SafariView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bestler/SafariView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e22bbbb Update README.md
Cloned https://github.com/bestler/SafariView.git
Revision (git rev-parse @):
e22bbbbbb3a3c4ca35fda71255c31d5e64e29e9b
SUCCESS checkout https://github.com/bestler/SafariView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bestler/SafariView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SafariView
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/SafariView.swift:2:8: error: no such module 'UIKit'
 1 |
 2 | import UIKit
   |        `- error: no such module 'UIKit'
 3 | import SwiftUI
 4 | import SafariServices
[4/4] Compiling SafariView SafariView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/SafariView.swift:2:8: error: no such module 'UIKit'
 1 |
 2 | import UIKit
   |        `- error: no such module 'UIKit'
 3 | import SwiftUI
 4 | import SafariServices
BUILD FAILURE 6.2 macosSpm