The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PayPal, reference 3.1.1 (de9841), with Swift 6.1 for macOS (SPM) on 10 Oct 2026 15:30:07 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/paypal/paypal-ios.git
https://github.com/paypal/paypal-ios.git
{
  "dependencies" : [
    {
      "identity" : "paypal-risk-ios",
      "requirement" : {
        "exact" : [
          "5.6.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/paypal/paypal-risk-ios"
    }
  ],
  "manifest_display_name" : "PayPal",
  "name" : "PayPal",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "CorePayments",
      "targets" : [
        "CorePayments"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PaymentButtons",
      "targets" : [
        "PaymentButtons"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PayPalPayments",
      "targets" : [
        "PayPalPayments"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CardPayments",
      "targets" : [
        "CardPayments"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FraudProtection",
      "targets" : [
        "FraudProtection"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PaymentButtons",
      "module_type" : "SwiftTarget",
      "name" : "PaymentButtons",
      "path" : "Sources/PaymentButtons",
      "product_memberships" : [
        "PaymentButtons"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PaymentButtons/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Coordinator.swift",
        "PayPalButton.swift",
        "PayPalCreditButton.swift",
        "PayPalPayLaterButton.swift",
        "PaymentButton+ImageAsset.swift",
        "PaymentButton.swift",
        "PaymentButtonColor.swift",
        "PaymentButtonEdges.swift",
        "PaymentButtonFont.swift",
        "PaymentButtonFundingSource.swift",
        "PaymentButtonLabel.swift",
        "PaymentButtonSize.swift"
      ],
      "target_dependencies" : [
        "CorePayments"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PayPalPayments",
      "module_type" : "SwiftTarget",
      "name" : "PayPalPayments",
      "path" : "Sources/PayPalPayments",
      "product_memberships" : [
        "PayPalPayments"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayPalPayments/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "APIRequests/CreateShopperSessionAPI.swift",
        "APIRequests/CreateShopperSessionResponse.swift",
        "APIRequests/CreateShopperSessionVariables.swift",
        "CoreEnvironment+PayPal.swift",
        "Models/PayPalCheckoutAnalyticsData+Analytics.swift",
        "Models/PayPalFlowType.swift",
        "Models/PayPalURLConfig.swift",
        "Models/PayPalUserAction.swift",
        "Models/PayPalUserIdentity.swift",
        "PayPalCheckoutFundingSource.swift",
        "PayPalCheckoutResult.swift",
        "PayPalCheckoutURLBuilder.swift",
        "PayPalClient.swift",
        "PayPalError.swift",
        "PayPalVaultResult.swift",
        "SystemLatencyTracker.swift"
      ],
      "target_dependencies" : [
        "CorePayments"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FraudProtection",
      "module_type" : "SwiftTarget",
      "name" : "FraudProtection",
      "path" : "Sources/FraudProtection",
      "product_dependencies" : [
        "PayPalRisk"
      ],
      "product_memberships" : [
        "FraudProtection"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/FraudProtection/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CoreConfig+MagnesSDK.swift",
        "DeviceInspector.swift",
        "DeviceInspectorProtocol.swift",
        "MagnesSDKProtocol.swift",
        "MagnesSDKResult.swift",
        "MagnesSetupParams.swift",
        "PayPalDataCollector.swift"
      ],
      "target_dependencies" : [
        "CorePayments"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CorePayments",
      "module_type" : "SwiftTarget",
      "name" : "CorePayments",
      "path" : "Sources/CorePayments",
      "product_memberships" : [
        "CorePayments",
        "PaymentButtons",
        "PayPalPayments",
        "CardPayments",
        "FraudProtection"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CorePayments/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AnalyticsEventData.swift",
        "CoreConfig.swift",
        "CorePaymentsError.swift",
        "CoreSDKError.swift",
        "Networking/AnalyticsService.swift",
        "Networking/AuthenticationTokenResponse.swift",
        "Networking/AuthenticationTokenServiceAPI.swift",
        "Networking/ClientConfigResponse.swift",
        "Networking/Enums/CoreEnvironment.swift",
        "Networking/Enums/HTTPHeader.swift",
        "Networking/Enums/HTTPMethod.swift",
        "Networking/GraphQL/GraphQLErrorResponse.swift",
        "Networking/GraphQL/GraphQLHTTPPostBody.swift",
        "Networking/GraphQL/GraphQLHTTPResponse.swift",
        "Networking/GraphQL/GraphQLRequest.swift",
        "Networking/HTTP.swift",
        "Networking/HTTPRequest.swift",
        "Networking/HTTPResponse.swift",
        "Networking/HTTPResponseParser.swift",
        "Networking/Models/ErrorResponse.swift",
        "Networking/NetworkingClient.swift",
        "Networking/NetworkingError.swift",
        "Networking/RESTRequest.swift",
        "Networking/TrackingEventsAPI.swift",
        "Networking/URLSession+URLSessionProtocol.swift",
        "Networking/URLSessionProtocol.swift",
        "Networking/UpdateClientConfigAPI.swift",
        "Networking/UpdateClientConfigVariables.swift",
        "PayPalCheckoutAnalyticsData.swift",
        "PayPalCoreConstants.swift",
        "UIApplication+URLOpener.swift",
        "WebAuthenticationSession.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CardPayments",
      "module_type" : "SwiftTarget",
      "name" : "CardPayments",
      "path" : "Sources/CardPayments",
      "product_memberships" : [
        "CardPayments"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CardPayments/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "APIRequests/CheckoutOrdersAPI.swift",
        "APIRequests/ConfirmPaymentSourceRequest.swift",
        "APIRequests/ConfirmPaymentSourceResponse.swift",
        "APIRequests/UpdateSetupTokenResponse.swift",
        "APIRequests/UpdateVaultVariables.swift",
        "APIRequests/VaultPaymentTokensAPI.swift",
        "CardClient.swift",
        "CardError.swift",
        "Models/Address.swift",
        "Models/Card.swift",
        "Models/CardRequest.swift",
        "Models/CardResult.swift",
        "Models/CardVaultRequest.swift",
        "Models/CardVaultResult.swift",
        "Models/PaymentSource.swift",
        "Models/SCA.swift"
      ],
      "target_dependencies" : [
        "CorePayments"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/11] Write sources
[4/11] Copying PrivacyInfo.xcprivacy
[4/11] Write sources
[4/11] Copying PrivacyInfo.xcprivacy
[10/11] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/42] 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 {
[13/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 {
[14/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 {
[15/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 {
[16/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 {
[17/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 {
[18/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 {
[19/45] 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 {
[20/45] 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 {
[21/45] 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 {
[22/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 {
[23/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 {
[24/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 {
[25/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 {
[26/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 {
[27/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 {
[28/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 {
[29/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 {
[30/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 {
[31/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 {
[32/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 {
[33/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 {
[34/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 {
[35/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 {
[36/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 {
[37/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 {
[38/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 {
[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 {
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.73s)
Computing version for https://github.com/paypal/paypal-risk-ios
Computed https://github.com/paypal/paypal-risk-ios at 5.6.0 (1.21s)
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.49s)
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/32] 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 {
[3/32] 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 {
[4/32] 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 {
[5/35] 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 {
[6/35] 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 {
[7/35] 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 {
[8/35] 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 {
[9/35] 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 {
[10/35] 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 {
[11/35] 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 {
[12/35] 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 {
[13/35] 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 {
[14/35] 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 {
[15/35] 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 {
[16/35] 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 {
[17/35] 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 {
[18/35] 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 {
[19/35] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/35] 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 {
[21/35] 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 {
[22/35] 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 {
[23/35] 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 {
[24/35] 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 {
[25/35] 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 {
[26/35] 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 {
[27/35] 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 {
[28/35] 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 {
[29/35] 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 {
[30/35] 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 {
[31/35] 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 {
[32/35] 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 {
[33/35] 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 {
[34/35] 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 {
[35/35] 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.1 macosSpm