The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BraintreeDropIn, reference main (ae66bc), with Swift 6.0 for macOS (SPM) on 24 Apr 2026 03:03:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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 ae66bc6 Add SECURITY.md (#469)
Cloned https://github.com/braintree/braintree-ios-drop-in.git
Revision (git rev-parse @):
ae66bc646250711940d72834caab3c377d485879
SUCCESS checkout https://github.com/braintree/braintree-ios-drop-in.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/braintree/braintree-ios-drop-in.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/132] Copying BTUI.strings
[3/132] Write sources
[3/132] Copying BTUI.strings
[7/132] Copying PrivacyInfo.xcprivacy
[7/132] Copying BTUI.strings
[23/132] Copying Info.plist
[23/132] Copying BTUI.strings
[23/132] Copying PrivacyInfo.xcprivacy
[28/132] Write swift-version-5BDAB9E9C0126B9D.txt
[29/132] Compiling BraintreeCore BTJSON.m
[30/132] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[31/132] Compiling BraintreeCore BTLogger.m
[32/132] Compiling BraintreeCore BTPaymentMethodNonce.m
[33/132] Compiling BraintreeCore BTHTTPErrors.m
[34/132] Compiling BraintreeCore BTPostalAddress.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.
[35/132] Compiling BraintreeCore BTPreferredPaymentMethods.m
[35/132] Compiling BraintreeCore BTConfiguration+GraphQL.m
[35/132] Compiling BraintreeCore BTConfiguration.m
[35/132] Compiling BraintreeCore BTErrors.m
[35/132] Compiling BraintreeCore resource_bundle_accessor.m
[35/132] Compiling BraintreeCore BTURLUtils.m
[35/132] Compiling BraintreeCore BTGraphQLHTTP.m
[35/132] Compiling BraintreeCore BTKeychain.m
[35/132] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
[35/132] Compiling BraintreeCore BTHTTP.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: [
Fetching https://github.com/braintree/braintree_ios
[1/104953] Fetching braintree_ios
Fetched https://github.com/braintree/braintree_ios from cache (53.44s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (0.88s)
Creating working copy for https://github.com/braintree/braintree_ios
Working copy of https://github.com/braintree/braintree_ios resolved at 5.27.0
[8259/47103570] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip
Downloading binary artifact 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.64s)
BUILD FAILURE 6.0 macosSpm