Build Information
Failed to build BraintreeDropIn, reference main (d951d1
), with Swift 5.9 for macOS (SPM) on 6 Mar 2025 18:35:32 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: 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.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 BTUI.strings
[1/130] Copying PrivacyInfo.xcprivacy
[4/130] Copying BTUI.strings
[6/130] Copying PrivacyInfo.xcprivacy
[7/130] Copying BTUI.strings
[22/130] Copying PrivacyInfo.xcprivacy
[22/130] Copying BTUI.strings
[24/130] Copying Info.plist
[24/130] Copying BTUI.strings
[27/130] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[28/130] Compiling BraintreeCore BTLogger.m
[28/130] Compiling BraintreeCore BTKeychain.m
[30/130] Compiling BraintreeCore BTURLUtils.m
[31/130] Compiling BraintreeCore BTPostalAddress.m
[32/130] Compiling BraintreeCore BTHTTPErrors.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.
[33/130] Compiling BraintreeCore BTHTTP.m
[34/130] Compiling BraintreeCore BTJSON.m
[35/130] Compiling BraintreeCore BTGraphQLHTTP.m
[36/130] Compiling BraintreeCore BTErrors.m
[37/130] Compiling BraintreeCore resource_bundle_accessor.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.
[38/130] Compiling BraintreeCore BTPreferredPaymentMethods.m
[38/130] Compiling BraintreeCore BTConfiguration+GraphQL.m
[38/130] Compiling BraintreeCore BTClientToken.m
[38/130] Compiling BraintreeCore BTAppContextSwitcher.m
[38/130] Compiling BraintreeCore BTBinData.m
[38/130] Compiling BraintreeCore BTClientMetadata.m
[38/130] Compiling BraintreeCore BTCacheDateValidator.m
[38/130] Compiling BraintreeCore BTPaymentMethodNonce.m
[38/130] Compiling BraintreeCore BTConfiguration.m
[38/130] 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")
^
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 (33.48s)
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
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.81s)
BUILD FAILURE 5.9 macosSpm