Build Information
Failed to build DocumentScannerView with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/DocumentScannerView.git
Reference: 0.0.6
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/edonv/DocumentScannerView
* tag 0.0.6 -> FETCH_HEAD
HEAD is now at b278314 Update .spi.yml
Cloned https://github.com/edonv/DocumentScannerView.git
Revision (git rev-parse @):
b278314869450c1ed92d90c5e1f32ddb93673b43
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/edonv/DocumentScannerView.git at 0.0.6
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "documentscannerview",
"name": "DocumentScannerView",
"url": "https://github.com/edonv/DocumentScannerView.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DocumentScannerView",
"dependencies": [
]
}
]
}
Fetching https://github.com/edonv/DocumentScannerView.git from cache
Fetched https://github.com/edonv/DocumentScannerView.git from cache (0.20s)
Creating working copy for https://github.com/edonv/DocumentScannerView.git
Working copy of https://github.com/edonv/DocumentScannerView.git resolved at 0.0.6 (b278314)
warning: '.resolve-product-dependencies': dependency 'documentscannerview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/edonv/DocumentScannerView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6044DDE57671499D.txt
[3/7] Compiling DocumentScannerView PDFDocument+UIImage Init.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/7] Compiling DocumentScannerView FullScreenCoverCompat.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/7] Compiling DocumentScannerView View+Extensions.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module DocumentScannerView
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[7/7] Compiling DocumentScannerView DocumentScannerView.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
[2/6] Compiling DocumentScannerView PDFDocument+UIImage Init.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module DocumentScannerView
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/6] Compiling DocumentScannerView View+Extensions.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/6] Compiling DocumentScannerView FullScreenCoverCompat.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/6] Compiling DocumentScannerView DocumentScannerView.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 macosSpm