The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PayPal, reference 3.1.1 (de9841), with Swift 6.3 for macOS (SPM) on 10 Oct 2026 15:23:48 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/paypal/paypal-ios.git
Reference: 3.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/paypal/paypal-ios
 * tag               3.1.1      -> FETCH_HEAD
HEAD is now at de98414 Bump version to 3.1.1
Cloned https://github.com/paypal/paypal-ios.git
Revision (git rev-parse @):
de98414f5cf74dc3db2239a4828b4760ef391d20
SUCCESS checkout https://github.com/paypal/paypal-ios.git at 3.1.1
Fetching https://github.com/paypal/paypal-risk-ios
[1/67] Fetching paypal-risk-ios
Fetched https://github.com/paypal/paypal-risk-ios from cache (0.72s)
Computing version for https://github.com/paypal/paypal-risk-ios
Computed https://github.com/paypal/paypal-risk-ios at 5.6.0 (1.33s)
Creating working copy for https://github.com/paypal/paypal-risk-ios
Working copy of https://github.com/paypal/paypal-risk-ios resolved at 5.6.0
Downloading binary artifact https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip
[16375/477939] Downloading https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip
Downloaded https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip (0.46s)
========================================
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": "paypal-ios",
      "name": "PayPal",
      "url": "https://github.com/paypal/paypal-ios.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/paypal-ios",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "paypal-risk-ios",
          "name": "PayPalRisk",
          "url": "https://github.com/paypal/paypal-risk-ios",
          "version": "5.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/paypal-risk-ios",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/paypal/paypal-ios.git
[1/41174] Fetching paypal-ios
Fetched https://github.com/paypal/paypal-ios.git from cache (3.89s)
Fetching https://github.com/paypal/paypal-risk-ios from cache
Fetched https://github.com/paypal/paypal-risk-ios from cache (0.49s)
Computing version for https://github.com/paypal/paypal-risk-ios
Computed https://github.com/paypal/paypal-risk-ios at 5.6.0 (0.55s)
Creating working copy for https://github.com/paypal/paypal-risk-ios
Working copy of https://github.com/paypal/paypal-risk-ios resolved at 5.6.0
Creating working copy for https://github.com/paypal/paypal-ios.git
Working copy of https://github.com/paypal/paypal-ios.git resolved at 3.1.1 (de98414)
Fetching binary artifact https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip from cache
Fetched https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip from cache (0.09s)
warning: '.resolve-product-dependencies': dependency 'paypal-ios' is not used by any target
Found 1 product dependencies
  - PayPalRisk
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/paypal/paypal-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Copying PrivacyInfo.xcprivacy
[2/11] Write sources
[3/11] Copying PrivacyInfo.xcprivacy
[3/11] Write sources
[3/11] Copying PrivacyInfo.xcprivacy
[7/11] Write sources
[10/11] Write swift-version-69A768CDF2A0BEE1.txt
[12/42] Compiling CorePayments NetworkingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[13/42] Compiling CorePayments RESTRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[14/42] Compiling CorePayments TrackingEventsAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[15/45] Compiling CorePayments AnalyticsService.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[16/45] Compiling CorePayments AuthenticationTokenResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[17/45] Compiling CorePayments AuthenticationTokenServiceAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[18/45] Compiling CorePayments ClientConfigResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/45] Emitting module CorePayments
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[20/45] Compiling CorePayments URLSession+URLSessionProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[21/45] Compiling CorePayments URLSessionProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[22/45] Compiling CorePayments UpdateClientConfigAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[23/45] Compiling CorePayments AnalyticsEventData.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[24/45] Compiling CorePayments CoreConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[25/45] Compiling CorePayments CorePaymentsError.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[26/45] Compiling CorePayments CoreSDKError.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[27/45] Compiling CorePayments UpdateClientConfigVariables.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[28/45] Compiling CorePayments PayPalCheckoutAnalyticsData.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[29/45] Compiling CorePayments PayPalCoreConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[30/45] Compiling CorePayments GraphQLHTTPPostBody.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[31/45] Compiling CorePayments GraphQLHTTPResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[32/45] Compiling CorePayments GraphQLRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[33/45] Compiling CorePayments HTTPResponseParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[34/45] Compiling CorePayments ErrorResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[35/45] Compiling CorePayments NetworkingClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[36/45] Compiling CorePayments HTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[37/45] Compiling CorePayments HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[38/45] Compiling CorePayments HTTPResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[39/45] Compiling CorePayments CoreEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[40/45] Compiling CorePayments HTTPHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[41/45] Compiling CorePayments HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[42/45] Compiling CorePayments GraphQLErrorResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[43/45] Compiling CorePayments UIApplication+URLOpener.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[44/45] Compiling CorePayments WebAuthenticationSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[45/45] Compiling CorePayments resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/PaymentButtons/Assets.xcassets
BUILD FAILURE 6.3 macosSpm