The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build BraintreeDropIn, reference 9.14.0 (d951d1), with Swift 5.10 for macOS (SPM) on 6 Mar 2025 18:33:50 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/braintree/braintree-ios-drop-in.git
Reference: 9.14.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/braintree/braintree-ios-drop-in
 * tag               9.14.0     -> FETCH_HEAD
HEAD is now at d951d10 Bump version to 9.14.0
Cloned https://github.com/braintree/braintree-ios-drop-in.git
Revision (git rev-parse @):
d951d104ac960188824bda191be2f57c57351a31
SUCCESS checkout https://github.com/braintree/braintree-ios-drop-in.git at 9.14.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/braintree/braintree-ios-drop-in.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/132] Copying BTUI.strings
[0/132] Write sources
[5/132] Copying BTUI.strings
[6/132] Copying PrivacyInfo.xcprivacy
[6/132] Copying BTUI.strings
[6/132] Copying PrivacyInfo.xcprivacy
[6/132] Copying BTUI.strings
[19/132] Copying PrivacyInfo.xcprivacy
[20/132] Copying BTUI.strings
[26/132] Copying Info.plist
[26/132] Copying BTUI.strings
[28/132] Write swift-version-33747A42983211AE.txt
[29/132] Compiling BraintreeCore BTURLUtils.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
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[30/132] Compiling BraintreeCore BTPreferredPaymentMethods.m
[30/132] Compiling BraintreeCore BTLogger.m
[30/132] Compiling BraintreeCore BTHTTPErrors.m
[30/132] Compiling BraintreeCore BTJSON.m
[30/132] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[30/132] Compiling BraintreeCore BTPostalAddress.m
[30/132] Compiling BraintreeCore BTKeychain.m
[30/132] Compiling BraintreeCore BTPaymentMethodNonce.m
[30/132] Compiling BraintreeCore resource_bundle_accessor.m
[30/132] Compiling BraintreeCore BTPreferredPaymentMethodsResult.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
        .package(name: "Braintree", url: "https://github.com/braintree/braintree_ios", from: "5.27.0")
         ^
Fetching https://github.com/braintree/braintree_ios
[1/89830] Fetching braintree_ios
Fetched https://github.com/braintree/braintree_ios from cache (15.77s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (0.37s)
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.90s)
BUILD FAILURE 5.10 macosSpm