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.0 for macOS (SPM) on 8 Sep 2025 20:56:48 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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
========================================
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
[0/132] Copying PrivacyInfo.xcprivacy
[2/132] Write sources
[4/132] Copying BTUI.strings
[4/132] Copying PrivacyInfo.xcprivacy
[4/132] Copying BTUI.strings
[27/132] Copying Info.plist
[28/132] Write swift-version-5BDAB9E9C0126B9D.txt
[29/132] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
[30/132] Compiling BraintreeCore BTPostalAddress.m
[30/132] Compiling BraintreeCore resource_bundle_accessor.m
[32/132] Compiling BraintreeCore BTKeychain.m
[33/132] Compiling BraintreeCore BTLogger.m
[34/132] Compiling BraintreeCore BTHTTPErrors.m
[35/132] Compiling BraintreeCore BTURLUtils.m
[36/132] Compiling BraintreeCore BTErrors.m
[37/132] Compiling BraintreeCore BTPaymentMethodNonce.m
[38/132] Compiling BraintreeCore BTGraphQLHTTP.m
[39/132] Compiling BraintreeCore BTConfiguration.m
[40/132] Compiling BraintreeCore BTHTTP.m
[41/132] Compiling BraintreeCore BTConfiguration+GraphQL.m
[42/132] Compiling BraintreeCore BTClientMetadata.m
[43/132] Compiling BraintreeCore BTClientToken.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.
[44/132] Compiling BraintreeCore BTPreferredPaymentMethods.m
[44/132] Compiling BraintreeCore BTAPIHTTP.m
[44/132] Compiling BraintreeCore BTAPIPinnedCertificates.m
[44/132] Compiling BraintreeCore BTAppContextSwitcher.m
[44/132] Compiling BraintreeCore BTBinData.m
[44/132] Compiling BraintreeCore BTAnalyticsMetadata.m
[44/132] Compiling BraintreeCore BTAnalyticsService.m
[44/132] Compiling BraintreeCore BTCacheDateValidator.m
[44/132] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[44/132] Compiling BraintreeCore BTJSON.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/98233] Fetching braintree_ios
Fetched https://github.com/braintree/braintree_ios from cache (43.01s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (0.73s)
Creating working copy for https://github.com/braintree/braintree_ios
Working copy of https://github.com/braintree/braintree_ios resolved at 5.27.0
[16375/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.71s)
BUILD FAILURE 6.0 macosSpm