Build Information
Failed to build DocumentScannerView, reference main (b27831
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 13:02:45 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/edonv/DocumentScannerView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/edonv/DocumentScannerView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b278314 Update .spi.yml
Cloned https://github.com/edonv/DocumentScannerView.git
Revision (git rev-parse @):
b278314869450c1ed92d90c5e1f32ddb93673b43
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/DocumentScannerView.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/edonv/DocumentScannerView.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
[3/7] Compiling DocumentScannerView PDFDocument+UIImage Init.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
[4/7] Compiling DocumentScannerView FullScreenCoverCompat.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
[5/7] Compiling DocumentScannerView View+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module DocumentScannerView
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
[7/7] Compiling DocumentScannerView DocumentScannerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
BUILD FAILURE 6.2 macosSpm