Build Information
Failed to build BraintreeDropIn, reference main (302544
), with Swift 6.2 (beta) for macOS (SPM) on 8 Sep 2025 20:56:19 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.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.2
Building package at path: $PWD
https://github.com/braintree/braintree-ios-drop-in.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/132] Copying BTUI.strings
[0/132] Write sources
[3/132] Copying BTUI.strings
[4/132] Copying PrivacyInfo.xcprivacy
[5/132] Copying BTUI.strings
[8/132] Copying PrivacyInfo.xcprivacy
[8/132] Copying BTUI.strings
[22/132] Copying PrivacyInfo.xcprivacy
[22/132] Copying BTUI.strings
[25/132] Copying Info.plist
[28/132] Write swift-version-1EA4D86E10B52AF.txt
[29/132] Compiling BraintreeCore BTPostalAddress.m
[30/132] Compiling BraintreeCore BTURLUtils.m
[30/132] Compiling BraintreeCore BTKeychain.m
[32/132] Compiling BraintreeCore BTLogger.m
[33/132] Compiling BraintreeCore BTJSON.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.
[34/132] Compiling BraintreeCore BTPreferredPaymentMethods.m
[34/132] Compiling BraintreeCore BTErrors.m
[34/132] Compiling BraintreeCore BTConfiguration.m
[34/132] Compiling BraintreeCore BTHTTP.m
[34/132] Compiling BraintreeCore BTGraphQLHTTP.m
[34/132] Compiling BraintreeCore BTPaymentMethodNonce.m
[34/132] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[34/132] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
[34/132] Compiling BraintreeCore BTHTTPErrors.m
[34/132] Compiling BraintreeCore resource_bundle_accessor.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
18 | ],
19 | targets: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/braintree/braintree_ios
[1/98233] Fetching braintree_ios
Fetched https://github.com/braintree/braintree_ios from cache (36.09s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (36.82s)
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.18s)
BUILD FAILURE 6.2 macosSpm