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 main (d951d1), with Swift 5.10 for macOS (SPM) on 6 Mar 2025 18:34:49 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: 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 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 main
========================================
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] Write sources
[1/132] Copying PrivacyInfo.xcprivacy
[1/132] Copying BTUI.strings
[1/132] Copying PrivacyInfo.xcprivacy
[5/132] Copying BTUI.strings
[19/132] Copying PrivacyInfo.xcprivacy
[21/132] Copying BTUI.strings
[23/132] Copying Info.plist
[23/132] Copying BTUI.strings
[28/132] Write swift-version-33747A42983211AE.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
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[29/132] Compiling BraintreeCore BTPreferredPaymentMethods.m
[29/132] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[29/132] Compiling BraintreeCore BTPostalAddress.m
[29/132] Compiling BraintreeCore BTJSON.m
[29/132] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
[29/132] Compiling BraintreeCore BTURLUtils.m
[29/132] Compiling BraintreeCore resource_bundle_accessor.m
[29/132] Compiling BraintreeCore BTKeychain.m
[29/132] Compiling BraintreeCore BTPaymentMethodNonce.m
[29/132] Compiling BraintreeCore BTLogger.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 (43.11s)
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.94s)
BUILD FAILURE 5.10 macosSpm