The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PDFPagePicker, reference main (3fda93), with Swift 6.2 for Android on 31 Aug 2025 06:51:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/omv-libs/PDFPagePicker.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/omv-libs/PDFPagePicker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3fda93e Newer swiftformat.
Cloned https://github.com/omv-libs/PDFPagePicker.git
Revision (git rev-parse @):
3fda93e3e069df4b35cc7c599986b6dff3584c36
SUCCESS checkout https://github.com/omv-libs/PDFPagePicker.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/omv-libs/PDFPagePicker.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/PDFPagePicker/Resources/Localizable.xcstrings
Building for debugging...
[0/6] Write sources
[0/6] Copying PDFPageItem.xib
[2/6] Copying Info.plist
[2/6] Copying SingleImageImportViewController.xib
[4/6] Copying PDFPagePicker.xib
[5/6] Write swift-version-8C5A4AE7A8CE2BA.txt
[7/18] Compiling PDFPagePicker SingleImageImportViewController.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[8/19] Compiling PDFPagePicker PDFDocumentView.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[9/19] Compiling PDFPagePicker PDFPageItem.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[10/19] Compiling PDFPagePicker PDFPagePicker.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[11/19] Compiling PDFPagePicker SingleImageImport.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[12/19] Compiling PDFPagePicker ImageImport.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[13/19] Compiling PDFPagePicker ImageWell.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/19] Emitting module PDFPagePicker
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[15/19] Compiling PDFPagePicker Logger+PDFPagePicker.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[16/19] Compiling PDFPagePicker NSResponder+PDFPagePicker.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[17/19] Compiling PDFPagePicker ImageWellImport.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[18/19] Compiling PDFPagePicker LocalizedStringResource+PDFPagePicker.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[19/19] Compiling PDFPagePicker resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
BUILD FAILURE 6.2 android