The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PayKit, reference main (041fb2), with Swift 6.4 for macOS (SPM) on 28 Sep 2026 21:53:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/cash-app-pay-ios-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cashapp/cash-app-pay-ios-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 041fb24 Merge pull request #44 from cashapp/nalexander/upgrade-cocoapods-1-17
Cloned https://github.com/cashapp/cash-app-pay-ios-sdk.git
Revision (git rev-parse @):
041fb24b163b2c339d874123c68b5b46256f6a7d
SUCCESS checkout https://github.com/cashapp/cash-app-pay-ios-sdk.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/cashapp/cash-app-pay-ios-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 269]
[Planning deferred tasks]
[70 / 100]
[82 / 100]
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git
[1/121] Fetching swiftgenplugin
[122/16606] Fetching swiftgenplugin, swift-snapshot-testing
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git (6.03s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (6.03s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (6.72s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.19.6 (0.60s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
[5667/85736] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump (5.11s)
Fetched https://github.com/swiftlang/swift-syntax (5.11s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (5.74s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6170] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (1.63s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (3.85s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.74s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/SwiftGen/SwiftGenPlugin.git
Working copy of https://github.com/SwiftGen/SwiftGenPlugin.git resolved at 6.6.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.19.6
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Downloading binary artifact https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip
[0/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (15 KB / 3.5 MB)
[9/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (343 KB / 3.5 MB)
[18/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (648 KB / 3.5 MB)
[27/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (936 KB / 3.5 MB)
[35/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (1.2 MB / 3.5 MB)
[44/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (1.5 MB / 3.5 MB)
[52/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (1.8 MB / 3.5 MB)
[60/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (2.1 MB / 3.5 MB)
[68/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (2.4 MB / 3.5 MB)
[75/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (2.6 MB / 3.5 MB)
[97/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (3.4 MB / 3.5 MB)
[100/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (3.5 MB / 3.5 MB)
Downloaded https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (0.59s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (1.29s)
error: /Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8 unable to resolve module dependency: 'UIKit'
error: SwiftDriver PayKit normal arm64 com.apple.xcode.tools.swift.compiler failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name PayKit -Onone @/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PayKit.build/Debug/PayKit-t.build/Objects-normal/arm64/PayKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DLOGGING -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -emit-localized-strings -emit-localized-strings-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PayKit.build/Debug/PayKit-t.build/Objects-normal/arm64 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PayKit.build/Debug/PayKit-t.build/Objects-normal/arm64/PayKit-OutputFileMap.json -save-temps -color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PayKit.build/Debug/PayKit-t.build/Objects-normal/arm64/PayKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PayKit.build/Debug/PayKit-t.build/Objects-normal/arm64/PayKit-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PayKit.build/Debug/PayKit-t.build/Objects-normal/arm64/PayKit_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PayKit.build/Debug/PayKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PayKit.build/Debug/PayKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PayKit.build/Debug/PayKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PayKit.build/Debug/PayKit-t.build/Objects-normal/arm64/PayKit-Swift.h -working-directory /Users/admin/builder -experimental-emit-module-separately -disable-cmo
error: Build failed
BUILD FAILURE 6.4 macosSpm