Build Information
Failed to build PayKit, reference v2.2.0 (a5d065), with Swift 6.4 for macOS (SPM) on 29 Oct 2026 19:38:57 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/cash-app-pay-ios-sdk.git
Reference: v2.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cashapp/cash-app-pay-ios-sdk
* tag v2.2.0 -> FETCH_HEAD
HEAD is now at a5d0657 Merge pull request #49 from cashapp/finci/release-2.2.0
Cloned https://github.com/cashapp/cash-app-pay-ios-sdk.git
Revision (git rev-parse @):
a5d065702709ed161f31f76915903708bddcbc48
SUCCESS checkout https://github.com/cashapp/cash-app-pay-ios-sdk.git at v2.2.0
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git
[1/120] Fetching swiftgenplugin
[121/16719] Fetching swiftgenplugin, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (12.02s)
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git (12.02s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (13.03s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.19.7 (0.59s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/5669] Fetching swift-custom-dump
[5670/87018] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump (35.70s)
Fetched https://github.com/swiftlang/swift-syntax (35.70s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (36.31s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6180] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (2.68s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (4.93s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.72s)
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
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.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.7
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
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 (10 KB / 3.5 MB)
[8/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (310 KB / 3.5 MB)
[17/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (615 KB / 3.5 MB)
[25/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (886 KB / 3.5 MB)
[33/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (1.1 MB / 3.5 MB)
[40/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (1.4 MB / 3.5 MB)
[48/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (1.7 MB / 3.5 MB)
[56/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (1.9 MB / 3.5 MB)
[63/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (2.2 MB / 3.5 MB)
[71/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (2.5 MB / 3.5 MB)
[79/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (2.7 MB / 3.5 MB)
[87/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (3 MB / 3.5 MB)
[95/100] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (3.3 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.79s)
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.95s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "cash-app-pay-ios-sdk",
"name": "PayKit",
"url": "https://github.com/cashapp/cash-app-pay-ios-sdk.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cash-app-pay-ios-sdk",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swiftgenplugin",
"name": "SwiftGenPlugin",
"url": "https://github.com/SwiftGen/SwiftGenPlugin.git",
"version": "6.6.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftGenPlugin",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/cashapp/cash-app-pay-ios-sdk.git
[1/1452] Fetching cash-app-pay-ios-sdk
Fetched https://github.com/cashapp/cash-app-pay-ios-sdk.git (2.07s)
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git from cache
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git from cache (0.67s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (0.73s)
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/cashapp/cash-app-pay-ios-sdk.git
Working copy of https://github.com/cashapp/cash-app-pay-ios-sdk.git resolved at v2.2.0 (a5d0657)
Fetching binary artifact https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip from cache
Fetched https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip from cache (0.20s)
warning: '.resolve-product-dependencies': dependency 'cash-app-pay-ios-sdk' is not used by any target
Found 1 product dependencies
- SwiftGenPlugin
========================================
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.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 269]
[Planning deferred tasks]
[70 / 100]
[78 / 100] PayKit_PayKitUI
[82 / 100]
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.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.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.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.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.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-80c5bbf1d171475443272936d42f90a389db99fe7804849a4777d653a8cfc1be.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