Build Information
Failed to build PayKit, reference v0.6.3 (c96d4d
), with Swift 5.10 for macOS (SPM) on 17 Apr 2025 16:51:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/cash-app-pay-ios-sdk.git
Reference: v0.6.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cashapp/cash-app-pay-ios-sdk
* tag v0.6.3 -> FETCH_HEAD
HEAD is now at c96d4d1 Merge pull request #36 from cashapp/release-0.6.3
Cloned https://github.com/cashapp/cash-app-pay-ios-sdk.git
Revision (git rev-parse @):
c96d4d1f0ad1723df6257bfecbda97b35b5b89f8
SUCCESS checkout https://github.com/cashapp/cash-app-pay-ios-sdk.git at v0.6.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/cashapp/cash-app-pay-ios-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.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
[2/14] Copying PrivacyInfo.xcprivacy
[2/14] Copying Info.plist
[2/14] Copying swiftgen.yml
[2/14] Copying Localizable.strings
[2/14] Copying PrivacyInfo.xcprivacy
[2/14] Copying Info.plist
[2/14] Copying custom-xcassets-template.stencil
[11/14] Copying Images.xcassets
[12/14] Copying Colors.xcassets
[13/14] Write swift-version-33747A42983211AE.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'
import UIKit
^
[16/49] Compiling PayKit HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[17/49] Compiling PayKit RESTService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[18/49] Compiling PayKit RetryPolicy.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[19/49] Compiling PayKit UserAgent.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[20/49] Compiling PayKit Loggable.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[21/49] Compiling PayKit Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[22/49] Compiling PayKit StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[23/49] Compiling PayKit resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[24/49] Compiling PayKit CashAppPayEndpoint+Analytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[25/49] Compiling PayKit JSONEncoder+Analytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[26/49] Compiling PayKit AnalyticsEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[27/49] Compiling PayKit AnalyticsService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[28/49] Compiling PayKit CashAppPay.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[29/49] Compiling PayKit CustomerRequest+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[30/49] Compiling PayKit CustomerRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[31/49] Compiling PayKit Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[32/49] Compiling PayKit JSONCoder+PayKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[33/49] Compiling PayKit NetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[34/49] Compiling PayKit ObjCWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[35/49] Compiling PayKit AnalyticsClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[36/49] Compiling PayKit AnalyticsDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[37/49] Compiling PayKit CashAppPayState+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[38/49] Compiling PayKit CustomerRequest+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
[39/49] Compiling PayKit Errors+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git
[1/121] Fetching swiftgenplugin
[122/13266] Fetching swiftgenplugin, swift-snapshot-testing
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git from cache (2.99s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.99s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (0.43s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.3 (0.35s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
[4582/74734] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.19s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (3.19s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.33s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5349] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.51s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.34s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.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.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.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.3
Creating working copy for https://github.com/SwiftGen/SwiftGenPlugin.git
Working copy of https://github.com/SwiftGen/SwiftGenPlugin.git resolved at 6.6.2
[16375/3450738] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip
Downloading binary artifact 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 (1.19s)
BUILD FAILURE 5.10 macosSpm