The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Braintree, reference main (3e5bca), with Swift 6.3 for macOS (SPM) on 9 Oct 2026 08:05:38 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/braintree/braintree_ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/braintree/braintree_ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3e5bca8 [Open Dev] Clarify Naming Conventions In Style Guide (#1890)
Cloned https://github.com/braintree/braintree_ios.git
Revision (git rev-parse @):
3e5bca8b4a27f199f69337028280c5fe44f29bab
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/braintree/braintree_ios.git at main
Fetching https://github.com/paypal/paypal-risk-ios.git
[1/67] Fetching paypal-risk-ios
Fetched https://github.com/paypal/paypal-risk-ios.git from cache (0.62s)
Computing version for https://github.com/paypal/paypal-risk-ios.git
Computed https://github.com/paypal/paypal-risk-ios.git at 5.6.0 (1.20s)
Creating working copy for https://github.com/paypal/paypal-risk-ios.git
Working copy of https://github.com/paypal/paypal-risk-ios.git resolved at 5.6.0
Downloading binary artifact https://github.com/paypal/paypal-messages-ios/releases/download/2.0.0/PayPalMessages.xcframework.zip
Downloading binary artifact https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip
Downloading binary artifact https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
[16375/28309503] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
[65500/28787442] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip, https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip
[655351/30509356] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip, https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip, https://github.com/paypal/paypal-messages-ios/releases/download/2.0.0/PayPalMessages.xcframework.zip
Downloaded https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip (0.39s)
Downloaded https://github.com/paypal/paypal-messages-ios/releases/download/2.0.0/PayPalMessages.xcframework.zip (0.41s)
Downloaded https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip (1.63s)
========================================
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": "braintree_ios",
      "name": "Braintree",
      "url": "https://github.com/braintree/braintree_ios.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/braintree_ios",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "paypal-risk-ios",
          "name": "PayPalRisk",
          "url": "https://github.com/paypal/paypal-risk-ios.git",
          "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/braintree/braintree_ios.git
[1/110445] Fetching braintree_ios
Fetched https://github.com/braintree/braintree_ios.git from cache (85.54s)
Fetching https://github.com/paypal/paypal-risk-ios.git from cache
Fetched https://github.com/paypal/paypal-risk-ios.git from cache (0.48s)
Computing version for https://github.com/paypal/paypal-risk-ios.git
Computed https://github.com/paypal/paypal-risk-ios.git at 5.6.0 (0.53s)
Creating working copy for https://github.com/paypal/paypal-risk-ios.git
Working copy of https://github.com/paypal/paypal-risk-ios.git resolved at 5.6.0
Creating working copy for https://github.com/braintree/braintree_ios.git
Working copy of https://github.com/braintree/braintree_ios.git resolved at main (3e5bca8)
Fetching binary artifact https://github.com/paypal/paypal-messages-ios/releases/download/2.0.0/PayPalMessages.xcframework.zip from cache
Fetching binary artifact https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip from cache
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-messages-ios/releases/download/2.0.0/PayPalMessages.xcframework.zip from cache (0.48s)
Fetched https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip from cache (0.50s)
Fetched https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip from cache (1.28s)
warning: '.resolve-product-dependencies': dependency 'braintree_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/braintree/braintree_ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/27] Write sources
[4/27] Copying PrivacyInfo.xcprivacy
[5/27] Write sources
[9/27] Copying PrivacyInfo.xcprivacy
[13/27] Write sources
[13/27] Copying PrivacyInfo.xcprivacy
[16/27] Write sources
[17/27] Copying PrivacyInfo.xcprivacy
[19/27] Write sources
[21/27] Copying PrivacyInfo.xcprivacy
[25/27] Write sources
[26/27] Write swift-version-69A768CDF2A0BEE1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/82] Emitting module BraintreeCore
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[29/88] Compiling BraintreeCore LinkType.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[30/88] Compiling BraintreeCore RepeatingTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[31/88] Compiling BraintreeCore BTClientToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[32/88] Compiling BraintreeCore BTClientTokenError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[33/88] Compiling BraintreeCore ClientAuthorization.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[34/88] Compiling BraintreeCore InvalidAuthorization.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[35/88] Compiling BraintreeCore Date+MillisecondTimestamp.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[36/88] Compiling BraintreeCore UIApplication+ApplicationState.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[37/88] Compiling BraintreeCore UIApplication+BackgroundTaskManaging.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[38/88] Compiling BraintreeCore UIApplication+URLOpener.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[39/88] Compiling BraintreeCore URL+IsPayPal.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[40/88] Compiling BraintreeCore resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[41/88] Compiling BraintreeCore BTClientMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[42/88] Compiling BraintreeCore BTClientMetadataIntegration.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[43/88] Compiling BraintreeCore BTClientMetadataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[44/88] Compiling BraintreeCore BTCoreConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[45/88] Compiling BraintreeCore BTGraphQLEncodableBody.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[46/88] Compiling BraintreeCore BTGraphQLErrorNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[47/88] Compiling BraintreeCore BTAPIRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[48/88] Compiling BraintreeCore BTAPITimingDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[49/88] Compiling BraintreeCore BTAppContextSwitchClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[50/88] Compiling BraintreeCore BTAppContextSwitcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[51/88] Compiling BraintreeCore BTBinData.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[52/88] Compiling BraintreeCore BTCardNetwork.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[53/88] Compiling BraintreeCore AnalyticsSendable.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[54/88] Compiling BraintreeCore BTAnalyticsEventsStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[55/88] Compiling BraintreeCore BTAnalyticsService.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[56/88] Compiling BraintreeCore BTAnalyticsServiceError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[57/88] Compiling BraintreeCore BTCoreAnalytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[58/88] Compiling BraintreeCore FPTIBatchData.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[59/88] Compiling BraintreeCore BTGraphQLErrorTree.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[60/88] Compiling BraintreeCore BTGraphQLHTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[61/88] Compiling BraintreeCore BTGraphQLHTTPError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[62/88] Compiling BraintreeCore BTGraphQLMultiErrorNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[63/88] Compiling BraintreeCore BTGraphQLRequestResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[64/88] Compiling BraintreeCore BTGraphQLSingleErrorNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[65/88] Compiling BraintreeCore TokenizationKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[66/88] Compiling BraintreeCore TokenizationKeyError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[67/88] Compiling BraintreeCore BTAPIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[68/88] Compiling BraintreeCore BTAPIClientError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[69/88] Compiling BraintreeCore BTAPIClientHTTPType.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[70/88] Compiling BraintreeCore BTAPIPinnedCertificates.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[71/88] Compiling BraintreeCore BTHTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[72/88] Compiling BraintreeCore BTHTTPError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[73/88] Compiling BraintreeCore BTHTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[74/88] Compiling BraintreeCore BTJSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[75/88] Compiling BraintreeCore BTJSONError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[76/88] Compiling BraintreeCore BTLogLevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[77/88] Compiling BraintreeCore BTLogLevelDescription.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[78/88] Compiling BraintreeCore BTPaymentMethodNonce.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[79/88] Compiling BraintreeCore BTPostalAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[80/88] Compiling BraintreeCore BTSessionIDManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[81/88] Compiling BraintreeCore BTURLUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[82/88] Compiling BraintreeCore BTWebAuthenticationSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[83/88] Compiling BraintreeCore BTWebAuthenticationSessionClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[84/88] Compiling BraintreeCore BTConfiguration+Core.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[85/88] Compiling BraintreeCore BTConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[86/88] Compiling BraintreeCore BTConfigurationRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[87/88] Compiling BraintreeCore ConfigurationCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[88/88] Compiling BraintreeCore ConfigurationLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
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/BraintreeUIComponents/Resources/Assets.xcassets
BUILD FAILURE 6.3 macosSpm