The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ShareKit, reference main (28d397), with Swift 6.2 for macOS (SPM) on 21 Aug 2026 03:00:32 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markbattistella/ShareKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markbattistella/ShareKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 28d397c 2026-08-21
Cloned https://github.com/markbattistella/ShareKit.git
Revision (git rev-parse @):
28d397cc5a207b3c9f70d3e59cdee2406c952427
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/ShareKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/markbattistella/ShareKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module ShareKit
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
[4/6] Compiling ShareKit Shareable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
[5/6] Compiling ShareKit UIActivityPresenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
[6/6] Compiling ShareKit UIShareLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
BUILD FAILURE 6.2 macosSpm