The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DocumentScannerView, reference main (b27831), with Swift 6.2 (beta) for macOS (Xcode) using Xcode 26.0 on 21 Jun 2025 13:03:43 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme DocumentScannerView -destination platform=macOS,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:         macosXcodebuild
Swift version:             6.2
Building package at path:  $PWD
https://github.com/edonv/DocumentScannerView.git
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  DocumentScannerView: /Users/admin/builder/spi-builder-workspace
resolved source packages: DocumentScannerView
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DocumentScannerView",
  "name" : "DocumentScannerView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "DocumentScannerView",
      "targets" : [
        "DocumentScannerView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DocumentScannerViewTests",
      "module_type" : "SwiftTarget",
      "name" : "DocumentScannerViewTests",
      "path" : "Tests/DocumentScannerViewTests",
      "sources" : [
        "DocumentScanViewTests.swift"
      ],
      "target_dependencies" : [
        "DocumentScannerView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DocumentScannerView",
      "module_type" : "SwiftTarget",
      "name" : "DocumentScannerView",
      "path" : "Sources/DocumentScannerView",
      "product_memberships" : [
        "DocumentScannerView"
      ],
      "sources" : [
        "DocumentScannerView.swift",
        "FullScreenCoverCompat.swift",
        "PDFDocument+UIImage Init.swift",
        "View+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "DocumentScannerView"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme DocumentScannerView -destination platform=macOS,arch=arm64
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme DocumentScannerView -destination platform=macOS,arch=arm64
Resolve Package Graph
Resolved source packages:
  DocumentScannerView: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'DocumentScannerView' in project 'DocumentScannerView'
        ➜ Explicit dependency on target 'DocumentScannerView' in project 'DocumentScannerView'
    Target 'DocumentScannerView' in project 'DocumentScannerView' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 35194bb085664d66a7298bf4cd75825b
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/35194bb085664d66a7298bf4cd75825b.xcbuilddata
ClangStatCache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx26.0-25A5279m-f7c1d129d9d5414f2afbbad1fd6fd62e.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx26.0-25A5279m-f7c1d129d9d5414f2afbbad1fd6fd62e.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DocumentScannerView.DependencyStaticMetadataFileList (in target 'DocumentScannerView' from project 'DocumentScannerView')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DocumentScannerView.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DocumentScannerView.modulemap (in target 'DocumentScannerView' from project 'DocumentScannerView')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DocumentScannerView.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView-OutputFileMap.json (in target 'DocumentScannerView' from project 'DocumentScannerView')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView.SwiftFileList (in target 'DocumentScannerView' from project 'DocumentScannerView')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView_const_extract_protocols.json (in target 'DocumentScannerView' from project 'DocumentScannerView')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DocumentScannerView.DependencyMetadataFileList (in target 'DocumentScannerView' from project 'DocumentScannerView')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DocumentScannerView.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView.SwiftConstValuesFileList (in target 'DocumentScannerView' from project 'DocumentScannerView')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView.LinkFileList (in target 'DocumentScannerView' from project 'DocumentScannerView')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView.LinkFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/DocumentScannerView.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DocumentScannerView.modulemap (in target 'DocumentScannerView' from project 'DocumentScannerView')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DocumentScannerView.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps
SwiftDriver DocumentScannerView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'DocumentScannerView' from project 'DocumentScannerView')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name DocumentScannerView -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -target arm64-apple-macos10.13 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx26.0-25A5279m-f7c1d129d9d5414f2afbbad1fd6fd62e.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: Unable to find module dependency: 'UIKit'
import UIKit
       ^ (in target 'DocumentScannerView' from project 'DocumentScannerView')
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: note: A dependency of main module 'DocumentScannerView'
import UIKit
       ^ (in target 'DocumentScannerView' from project 'DocumentScannerView')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:28ee0326c19d6fad0cdff5283353a00a90534f06, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:28ee0326c19d6fad0cdff5283353a00a90534f06, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:28ee0326c19d6fad0cdff5283353a00a90534f06, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:28ee0326c19d6fad0cdff5283353a00a90534f06, name:My Mac }
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: Unable to find module dependency: 'UIKit'
import UIKit
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: note: a dependency of main module 'DocumentScannerView'
import UIKit
       ^
** BUILD FAILED **
The following build commands failed:
	SwiftDriver DocumentScannerView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'DocumentScannerView' from project 'DocumentScannerView')
	Building workspace spi-builder-workspace with scheme DocumentScannerView
(2 failures)
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  DocumentScannerView: /Users/admin/builder/spi-builder-workspace
resolved source packages: DocumentScannerView
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DocumentScannerView",
  "name" : "DocumentScannerView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "DocumentScannerView",
      "targets" : [
        "DocumentScannerView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DocumentScannerViewTests",
      "module_type" : "SwiftTarget",
      "name" : "DocumentScannerViewTests",
      "path" : "Tests/DocumentScannerViewTests",
      "sources" : [
        "DocumentScanViewTests.swift"
      ],
      "target_dependencies" : [
        "DocumentScannerView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DocumentScannerView",
      "module_type" : "SwiftTarget",
      "name" : "DocumentScannerView",
      "path" : "Sources/DocumentScannerView",
      "product_memberships" : [
        "DocumentScannerView"
      ],
      "sources" : [
        "DocumentScannerView.swift",
        "FullScreenCoverCompat.swift",
        "PDFDocument+UIImage Init.swift",
        "View+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "DocumentScannerView"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme DocumentScannerView -destination platform=macOS,arch=arm64
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme DocumentScannerView -destination platform=macOS,arch=arm64
Resolve Package Graph
Resolved source packages:
  DocumentScannerView: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'DocumentScannerView' in project 'DocumentScannerView'
        ➜ Explicit dependency on target 'DocumentScannerView' in project 'DocumentScannerView'
    Target 'DocumentScannerView' in project 'DocumentScannerView' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx26.0-25A5279m-f7c1d129d9d5414f2afbbad1fd6fd62e.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx26.0-25A5279m-f7c1d129d9d5414f2afbbad1fd6fd62e.sdkstatcache
SwiftDriver DocumentScannerView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'DocumentScannerView' from project 'DocumentScannerView')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name DocumentScannerView -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -target arm64-apple-macos10.13 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx26.0-25A5279m-f7c1d129d9d5414f2afbbad1fd6fd62e.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DocumentScannerView.build/Debug/DocumentScannerView.build/Objects-normal/arm64/DocumentScannerView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: Unable to find module dependency: 'UIKit'
import UIKit
       ^ (in target 'DocumentScannerView' from project 'DocumentScannerView')
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: note: A dependency of main module 'DocumentScannerView'
import UIKit
       ^ (in target 'DocumentScannerView' from project 'DocumentScannerView')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:28ee0326c19d6fad0cdff5283353a00a90534f06, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:28ee0326c19d6fad0cdff5283353a00a90534f06, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:28ee0326c19d6fad0cdff5283353a00a90534f06, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:28ee0326c19d6fad0cdff5283353a00a90534f06, name:My Mac }
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: Unable to find module dependency: 'UIKit'
import UIKit
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: note: a dependency of main module 'DocumentScannerView'
import UIKit
       ^
** BUILD FAILED **
The following build commands failed:
	SwiftDriver DocumentScannerView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'DocumentScannerView' from project 'DocumentScannerView')
	Building workspace spi-builder-workspace with scheme DocumentScannerView
(2 failures)
BUILD FAILURE 6.2 macosXcodebuild