The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build BraintreeDropIn, reference main (302544), with Swift 6.1 for macOS (SPM) on 8 Sep 2025 21:06:50 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/braintree/braintree-ios-drop-in.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/braintree/braintree-ios-drop-in
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3025441 Update README.md with Status Notice (#462)
Cloned https://github.com/braintree/braintree-ios-drop-in.git
Revision (git rev-parse @):
3025441febdd7e291213ee679487890080cc4666
SUCCESS checkout https://github.com/braintree/braintree-ios-drop-in.git at main
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
15 |     ],
16 |     dependencies: [
17 |         .package(name: "Braintree", url: "https://github.com/braintree/braintree_ios", from: "5.27.0")
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
18 |     ],
19 |     targets: [
Fetching https://github.com/braintree/braintree_ios
[1/98233] Fetching braintree_ios
Fetched https://github.com/braintree/braintree_ios from cache (28.41s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (28.98s)
Creating working copy for https://github.com/braintree/braintree_ios
Working copy of https://github.com/braintree/braintree_ios resolved at 5.27.0
Downloading binary artifact https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip
[8948/47103570] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip
Downloaded https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip (2.57s)
========================================
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": "braintree-ios-drop-in",
      "name": "BraintreeDropIn",
      "url": "https://github.com/braintree/braintree-ios-drop-in.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/braintree-ios-drop-in",
      "dependencies": [
        {
          "identity": "braintree_ios",
          "name": "Braintree",
          "url": "https://github.com/braintree/braintree_ios",
          "version": "5.27.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/braintree_ios",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/braintree/braintree-ios-drop-in.git
[1/12753] Fetching braintree-ios-drop-in
Fetched https://github.com/braintree/braintree-ios-drop-in.git from cache (2.26s)
warning: 'braintree-ios-drop-in': /Package.swift:17:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
15 |     ],
16 |     dependencies: [
17 |         .package(name: "Braintree", url: "https://github.com/braintree/braintree_ios", from: "5.27.0")
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
18 |     ],
19 |     targets: [
Fetching https://github.com/braintree/braintree_ios from cache
Fetched https://github.com/braintree/braintree_ios from cache (0.65s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (0.70s)
Creating working copy for https://github.com/braintree/braintree_ios
Working copy of https://github.com/braintree/braintree_ios resolved at 5.27.0
Creating working copy for https://github.com/braintree/braintree-ios-drop-in.git
Working copy of https://github.com/braintree/braintree-ios-drop-in.git resolved at main (3025441)
warning: 'braintree-ios-drop-in': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/braintree-ios-drop-in/Package.swift:17:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
15 |     ],
16 |     dependencies: [
17 |         .package(name: "Braintree", url: "https://github.com/braintree/braintree_ios", from: "5.27.0")
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
18 |     ],
19 |     targets: [
Fetching binary artifact https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip from cache
Fetched https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip from cache (1.69s)
warning: '.resolve-product-dependencies': dependency 'braintree-ios-drop-in' is not used by any target
Found 1 product dependencies
  - Braintree
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/braintree/braintree-ios-drop-in.git
https://github.com/braintree/braintree-ios-drop-in.git
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "braintree_ios",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.27.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/braintree/braintree_ios"
    }
  ],
  "manifest_display_name" : "BraintreeDropIn",
  "name" : "BraintreeDropIn",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "BraintreeDropIn",
      "targets" : [
        "BraintreeDropIn"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BraintreeDropIn",
      "module_type" : "ClangTarget",
      "name" : "BraintreeDropIn",
      "path" : "Sources/BraintreeDropIn",
      "product_dependencies" : [
        "BraintreeApplePay",
        "BraintreeCard",
        "BraintreeCore",
        "BraintreePaymentFlow",
        "BraintreePayPal",
        "BraintreeThreeDSecure",
        "BraintreeUnionPay",
        "BraintreeVenmo",
        "PayPalDataCollector"
      ],
      "product_memberships" : [
        "BraintreeDropIn"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/ar.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "ar"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/da.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "da"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/de.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/en.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/es.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/fr-CA.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "fr-ca"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/fr.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "fr"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/he.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "he"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/id.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "id"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/it.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "it"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/ja.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "ja"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/ko.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "ko"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/nb.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "nb"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/nl.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "nl"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/pl.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "pl"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/pt.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "pt"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/ru.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "ru"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/sk.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "sk"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/sv.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "sv"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/th.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "th"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/zh-Hans.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/zh-Hant-HK.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant-hk"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BraintreeDropIn/Resources/zh-Hant.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant"
            }
          }
        }
      ],
      "sources" : [
        "BTCardFormViewController.m",
        "BTDropInBaseViewController.m",
        "BTDropInController.m",
        "BTDropInUICustomization.m",
        "BTDropInUIUtilities.m",
        "BTPaymentMethodNonce+DropIn.m",
        "BTPaymentSelectionViewController.m",
        "BTVaultManagementViewController.m",
        "Components/BTUIKBarButtonItem.m",
        "Components/BTUIKCardListLabel.m",
        "Components/BTUIKCardNumberFormField.m",
        "Components/BTUIKCardholderNameFormField.m",
        "Components/BTUIKCollectionReusableView.m",
        "Components/BTUIKExpiryFormField.m",
        "Components/BTUIKFormField.m",
        "Components/BTUIKInputAccessoryToolbar.m",
        "Components/BTUIKMobileCountryCodeFormField.m",
        "Components/BTUIKMobileNumberFormField.m",
        "Components/BTUIKPaymentOptionCardView.m",
        "Components/BTUIKPostalCodeFormField.m",
        "Components/BTUIKSecurityCodeFormField.m",
        "Components/BTUIKSwitchFormField.m",
        "Components/BTUIKTextField.m",
        "Custom Views/BTDropInPaymentSelectionCell.m",
        "Custom Views/BTEnrollmentVerificationViewController.m",
        "Custom Views/BTPaymentSelectionHeaderView.m",
        "Custom Views/BTUIPaymentMethodCollectionViewCell.m",
        "Custom Views/BTVaultedPaymentMethodsTableViewCell.m",
        "Helpers/BTConfiguration+DropIn.m",
        "Helpers/BTUIKAppearance.m",
        "Helpers/BTUIKViewUtil.m",
        "Helpers/UIColor+BTUIK.m",
        "Helpers/UIFont+BTUIK.m",
        "Localization/BTDropInLocalization.m",
        "Models/BTDropInRequest.m",
        "Models/BTDropInResult.m",
        "Models/BTUIKCardExpirationValidator.m",
        "Models/BTUIKCardExpiryFormat.m",
        "Models/BTUIKCardType.m",
        "Models/BTUIKUtil.m",
        "Vector Art/BTUIKAmExVectorArtView.m",
        "Vector Art/BTUIKApplePayMarkVectorArtView.m",
        "Vector Art/BTUIKCVVBackVectorArtView.m",
        "Vector Art/BTUIKCVVFrontVectorArtView.m",
        "Vector Art/BTUIKCardVectorArtView.m",
        "Vector Art/BTUIKDinersClubVectorArtView.m",
        "Vector Art/BTUIKDiscoverVectorArtView.m",
        "Vector Art/BTUIKHiperVectorArtView.m",
        "Vector Art/BTUIKHipercardVectorArtView.m",
        "Vector Art/BTUIKJCBVectorArtView.m",
        "Vector Art/BTUIKMaestroVectorArtView.m",
        "Vector Art/BTUIKMasterCardVectorArtView.m",
        "Vector Art/BTUIKPayPalMonogramCardView.m",
        "Vector Art/BTUIKPayPalWordmarkCompactVectorArtView.m",
        "Vector Art/BTUIKPayPalWordmarkVectorArtView.m",
        "Vector Art/BTUIKUnionPayVectorArtView.m",
        "Vector Art/BTUIKUnknownCardVectorArtView.m",
        "Vector Art/BTUIKVectorArtView.m",
        "Vector Art/BTUIKVenmoMonogramCardView.m",
        "Vector Art/BTUIKVenmoWordmarkVectorArtView.m",
        "Vector Art/BTUIKVisaVectorArtView.m",
        "Vector Art/Large/BTUIKLargeAmExVectorArtView.m",
        "Vector Art/Large/BTUIKLargeApplePayMarkVectorArtView.m",
        "Vector Art/Large/BTUIKLargeDinersClubVectorArtView.m",
        "Vector Art/Large/BTUIKLargeDiscoverVectorArtView.m",
        "Vector Art/Large/BTUIKLargeHiperVectorArtView.m",
        "Vector Art/Large/BTUIKLargeHipercardVectorArtView.m",
        "Vector Art/Large/BTUIKLargeJCBVectorArtView.m",
        "Vector Art/Large/BTUIKLargeMaestroVectorArtView.m",
        "Vector Art/Large/BTUIKLargeMasterCardVectorArtView.m",
        "Vector Art/Large/BTUIKLargePayPalMonogramCardView.m",
        "Vector Art/Large/BTUIKLargeUnionPayVectorArtView.m",
        "Vector Art/Large/BTUIKLargeUnknownCardVectorArtView.m",
        "Vector Art/Large/BTUIKLargeVectorArtView.m",
        "Vector Art/Large/BTUIKLargeVenmoMonogramCardView.m",
        "Vector Art/Large/BTUIKLargeVisaVectorArtView.m"
      ],
      "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/132] Write sources
[1/132] Copying BTUI.strings
[9/132] Copying PrivacyInfo.xcprivacy
[9/132] Copying BTUI.strings
[9/132] Copying PrivacyInfo.xcprivacy
[9/132] Copying BTUI.strings
[23/132] Copying PrivacyInfo.xcprivacy
[23/132] Copying BTUI.strings
[24/132] Copying Info.plist
[28/132] Write swift-version-2F0A5646E1D333AE.txt
[29/132] Compiling BraintreeCore BTJSON.m
[30/132] Compiling BraintreeCore BTLogger.m
[31/132] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
/Users/admin/builder/spi-builder-workspace/.build/checkouts/braintree_ios/Sources/BraintreeCore/BTPreferredPaymentMethods.m:6:9: fatal error: 'UIKit/UIKit.h' file not found
    6 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[32/132] Compiling BraintreeCore BTPreferredPaymentMethods.m
[32/132] Compiling BraintreeCore BTHTTPErrors.m
[32/132] Compiling BraintreeCore BTGraphQLHTTP.m
[32/132] Compiling BraintreeCore BTKeychain.m
[32/132] Compiling BraintreeCore BTPaymentMethodNonce.m
[32/132] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[32/132] Compiling BraintreeCore BTPostalAddress.m
[32/132] Compiling BraintreeCore resource_bundle_accessor.m
[32/132] Compiling BraintreeCore BTHTTP.m
[32/132] Compiling BraintreeCore BTURLUtils.m
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
15 |     ],
16 |     dependencies: [
17 |         .package(name: "Braintree", url: "https://github.com/braintree/braintree_ios", from: "5.27.0")
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
18 |     ],
19 |     targets: [
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/101] Write swift-version-2F0A5646E1D333AE.txt
/Users/admin/builder/spi-builder-workspace/.build/checkouts/braintree_ios/Sources/BraintreeCore/BTPreferredPaymentMethods.m:6:9: fatal error: 'UIKit/UIKit.h' file not found
    6 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[1/101] Compiling BraintreeCore BTPreferredPaymentMethods.m
[1/101] Compiling BraintreeCore BTGraphQLHTTP.m
[1/101] Compiling BraintreeCore BTKeychain.m
[1/101] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[1/101] Compiling BraintreeCore BTPaymentMethodNonce.m
[1/101] Compiling BraintreeCore BTHTTPErrors.m
[1/101] Compiling BraintreeCore BTHTTP.m
[1/101] Compiling BraintreeCore BTURLUtils.m
[1/101] Compiling BraintreeCore BTPostalAddress.m
[1/101] Compiling BraintreeCore resource_bundle_accessor.m
BUILD FAILURE 6.1 macosSpm