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.9 for macOS (SPM) on 6 Mar 2025 18:35:55 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.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.9
Building package at path:  $PWD
https://github.com/braintree/braintree-ios-drop-in.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/130] Copying PrivacyInfo.xcprivacy
[0/130] Copying BTUI.strings
[22/130] Copying Info.plist
[25/130] Copying PrivacyInfo.xcprivacy
[25/130] Copying BTUI.strings
[27/130] Compiling BraintreeCore BTLogger.m
[28/130] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
[29/130] Compiling BraintreeCore BTJSON.m
[30/130] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[31/130] Compiling BraintreeCore BTHTTPErrors.m
[32/130] Compiling BraintreeCore BTErrors.m
[33/130] Compiling BraintreeCore BTKeychain.m
[34/130] Compiling BraintreeCore BTGraphQLHTTP.m
[35/130] Compiling BraintreeCore BTURLUtils.m
[36/130] Compiling BraintreeCore BTConfiguration.m
/Users/admin/builder/spi-builder-workspace/.build/checkouts/braintree_ios/Sources/BraintreeCore/BTHTTP.m:434:24: warning: 'SecTrustEvaluateWithError' is only available on macOS 10.14 or newer [-Wunguarded-availability-new]
        BOOL trusted = SecTrustEvaluateWithError(serverTrust, &error);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:413:1: note: 'SecTrustEvaluateWithError' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.13.0
SecTrustEvaluateWithError(SecTrustRef trust, CFErrorRef _Nullable * _Nullable CF_RETURNS_RETAINED error)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/braintree_ios/Sources/BraintreeCore/BTHTTP.m:434:24: note: enclose 'SecTrustEvaluateWithError' in an @available check to silence this warning
        BOOL trusted = SecTrustEvaluateWithError(serverTrust, &error);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[37/130] Compiling BraintreeCore BTHTTP.m
[38/130] Compiling BraintreeCore BTConfiguration+GraphQL.m
[39/130] Compiling BraintreeCore BTClientToken.m
[40/130] Compiling BraintreeCore BTClientMetadata.m
[41/130] Compiling BraintreeCore BTCacheDateValidator.m
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/braintree_ios/Sources/BraintreeCore/BTAppContextSwitcher.m:4:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/braintree_ios/Sources/BraintreeCore/Public/BraintreeCore/BTAppContextSwitcher.h:1:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[42/130] Compiling BraintreeCore BTAppContextSwitcher.m
[42/130] Compiling BraintreeCore BTAnalyticsMetadata.m
[42/130] Compiling BraintreeCore BTAPIHTTP.m
[42/130] Compiling BraintreeCore BTPaymentMethodNonce.m
[42/130] Compiling BraintreeCore BTAPIPinnedCertificates.m
[42/130] Compiling BraintreeCore BTAnalyticsService.m
[42/130] Compiling BraintreeCore BTBinData.m
[42/130] Compiling BraintreeCore BTPreferredPaymentMethods.m
[42/130] Compiling BraintreeCore resource_bundle_accessor.m
[42/130] Compiling BraintreeCore BTPostalAddress.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")
         ^
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 (28.19s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (0.36s)
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
[16375/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.90s)
BUILD FAILURE 5.9 macosSpm