Build Information
Failed to build BraintreeDropIn, reference main (d951d1
), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 06:32:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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: 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] Write sources
[1/132] Copying BTUI.strings
[1/132] Copying PrivacyInfo.xcprivacy
[1/132] Copying BTUI.strings
[1/132] Copying PrivacyInfo.xcprivacy
[1/132] Copying BTUI.strings
[25/132] Copying PrivacyInfo.xcprivacy
[25/132] Copying BTUI.strings
[27/132] Copying Info.plist
[28/132] Write swift-version-1EA4D86E10B52AF.txt
[29/132] Compiling BraintreeCore BTKeychain.m
[30/132] Compiling BraintreeCore BTJSON.m
[31/132] Compiling BraintreeCore BTHTTPErrors.m
[32/132] Compiling BraintreeCore BTLogger.m
[33/132] Compiling BraintreeCore BTPostalAddress.m
[34/132] Compiling BraintreeCore BTGraphQLHTTP.m
[35/132] Compiling BraintreeCore BTHTTP.m
[36/132] Compiling BraintreeCore BTErrors.m
[37/132] Compiling BraintreeCore BTPaymentMethodNonce.m
[38/132] Compiling BraintreeCore BTConfiguration.m
[39/132] Compiling BraintreeCore BTConfiguration+GraphQL.m
[40/132] Compiling BraintreeCore BTClientMetadata.m
[41/132] Compiling BraintreeCore BTClientToken.m
[42/132] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
[43/132] Compiling BraintreeCore BTURLUtils.m
[44/132] Compiling BraintreeCore BTCacheDateValidator.m
[45/132] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[46/132] Compiling BraintreeCore BTBinData.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
1 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
1 error generated.
[47/132] Compiling BraintreeCore BTAppContextSwitcher.m
[47/132] Compiling BraintreeCore BTAPIHTTP.m
[47/132] Compiling BraintreeCore BTAPIPinnedCertificates.m
[47/132] Compiling BraintreeCore BTAPIClient.m
[47/132] Compiling BraintreeCore BTAnalyticsService.m
[47/132] Compiling BraintreeCore BTAnalyticsMetadata.m
[47/132] Compiling BraintreeCore BTPreferredPaymentMethods.m
[47/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/94217] Fetching braintree_ios
Fetched https://github.com/braintree/braintree_ios from cache (14.41s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (14.87s)
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
[36893/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 (3.91s)
BUILD FAILURE 6.2 macosSpm