The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PayKit, reference main (bf6eba), with Swift 6.2 for macOS (SPM) on 12 Feb 2026 08:48:53 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 bf6eba6 Merge pull request #37 from cashapp/release-1.0.0
Cloned https://github.com/cashapp/cash-app-pay-ios-sdk.git
Revision (git rev-parse @):
bf6eba6b767301bf1d365c63ab7692a2b8b44490
SUCCESS checkout https://github.com/cashapp/cash-app-pay-ios-sdk.git at main
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git
[1/121] Fetching swiftgenplugin
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git from cache (0.69s)
[1/15750] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.13s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (3.77s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.9 (0.52s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/5284] Fetching swift-custom-dump
[5285/79414] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.07s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (5.07s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (5.62s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5607] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.47s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (2.17s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (0.50s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.1
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.18.9
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.4.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Downloading binary artifact https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip
[16375/3450738] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip
Downloaded https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (0.77s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip (0.47s)
========================================
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",
  "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",
      "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",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/cashapp/cash-app-pay-ios-sdk.git
[1/675] Fetching cash-app-pay-ios-sdk
Fetched https://github.com/cashapp/cash-app-pay-ios-sdk.git from cache (1.09s)
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git from cache
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git from cache (0.47s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (0.52s)
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 main (bf6eba6)
Creating working copy for https://github.com/SwiftGen/SwiftGenPlugin.git
Working copy of https://github.com/SwiftGen/SwiftGenPlugin.git resolved at 6.6.2
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.19s)
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.2
Building package at path:  $PWD
https://github.com/cashapp/cash-app-pay-ios-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftGen-Generate
[2/2] Compiling plugin SwiftGenPlugin
Building for debugging...
[2/14] Write sources
[4/14] Copying PrivacyInfo.xcprivacy
[4/14] Copying Info.plist
[4/14] Copying custom-xcassets-template.stencil
[4/14] Copying PrivacyInfo.xcprivacy
[4/14] Copying swiftgen.yml
[4/14] Copying Localizable.strings
[4/14] Copying Info.plist
[11/14] Copying Images.xcassets
[12/14] Copying Colors.xcassets
[13/14] Write swift-version-49B95AFC49DCD68C.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/47] Emitting module PayKit
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[16/49] Compiling PayKit RetryPolicy.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[17/49] Compiling PayKit UserAgent.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[18/49] Compiling PayKit HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[19/49] Compiling PayKit RESTService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[20/49] Compiling PayKit StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[21/49] Compiling PayKit resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[22/49] Compiling PayKit CashAppPayState+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[23/49] Compiling PayKit CustomerRequest+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[24/49] Compiling PayKit Errors+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[25/49] Compiling PayKit Loggable.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[26/49] Compiling PayKit Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[27/49] Compiling PayKit CashAppPayEndpoint+Analytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[28/49] Compiling PayKit JSONEncoder+Analytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[29/49] Compiling PayKit AnalyticsEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[30/49] Compiling PayKit AnalyticsService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[31/49] Compiling PayKit Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[32/49] Compiling PayKit JSONCoder+PayKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[33/49] Compiling PayKit NetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[34/49] Compiling PayKit ObjCWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[35/49] Compiling PayKit AnalyticsClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[36/49] Compiling PayKit AnalyticsDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[37/49] Compiling PayKit CashAppPay.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[38/49] Compiling PayKit CustomerRequest+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
[39/49] Compiling PayKit CustomerRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
 16 |
 17 | import Foundation
 18 | import UIKit
    |        `- error: no such module 'UIKit'
 19 |
 20 | public class CashAppPay {
BUILD FAILURE 6.2 macosSpm