Build Information
Failed to build BraintreeDropIn, reference main (ae66bc), with Swift 6.3 for macOS (SPM) on 24 Apr 2026 02:52:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.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 ae66bc6 Add SECURITY.md (#469)
Cloned https://github.com/braintree/braintree-ios-drop-in.git
Revision (git rev-parse @):
ae66bc646250711940d72834caab3c377d485879
SUCCESS checkout https://github.com/braintree/braintree-ios-drop-in.git at main
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/104953] Fetching braintree_ios
Fetched https://github.com/braintree/braintree_ios from cache (51.30s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (52.06s)
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
[15485/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.60s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "braintree-ios-drop-in",
"name": "BraintreeDropIn",
"url": "https://github.com/braintree/braintree-ios-drop-in.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/braintree-ios-drop-in",
"traits": [
"default"
],
"dependencies": [
{
"identity": "braintree_ios",
"name": "Braintree",
"url": "https://github.com/braintree/braintree_ios",
"version": "5.27.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/braintree_ios",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/braintree/braintree-ios-drop-in.git
[1/12880] Fetching braintree-ios-drop-in
Fetched https://github.com/braintree/braintree-ios-drop-in.git from cache (2.31s)
warning: 'braintree-ios-drop-in': /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 from cache
Fetched https://github.com/braintree/braintree_ios from cache (0.65s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (0.72s)
Creating working copy for https://github.com/braintree/braintree-ios-drop-in.git
Working copy of https://github.com/braintree/braintree-ios-drop-in.git resolved at main (ae66bc6)
Creating working copy for https://github.com/braintree/braintree_ios
Working copy of https://github.com/braintree/braintree_ios resolved at 5.27.0
warning: 'braintree-ios-drop-in': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/braintree-ios-drop-in/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 binary artifact https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip from cache
Fetched https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip from cache (1.76s)
warning: '.resolve-product-dependencies': dependency 'braintree-ios-drop-in' is not used by any target
Found 1 product dependencies
- Braintree
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/braintree/braintree-ios-drop-in.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/132] Copying BTUI.strings
[2/132] Write sources
[2/132] Copying BTUI.strings
[4/132] Copying PrivacyInfo.xcprivacy
[4/132] Copying BTUI.strings
[10/132] Copying PrivacyInfo.xcprivacy
[10/132] Copying BTUI.strings
[26/132] Copying PrivacyInfo.xcprivacy
[26/132] Copying Info.plist
[28/132] Write swift-version--6988338F2F200930.txt
[29/132] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
[30/132] Compiling BraintreeCore resource_bundle_accessor.m
[31/132] Compiling BraintreeCore BTPostalAddress.m
[32/132] Compiling BraintreeCore BTLogger.m
[33/132] Compiling BraintreeCore BTHTTPErrors.m
[34/132] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[35/132] Compiling BraintreeCore BTHTTP.m
[36/132] Compiling BraintreeCore BTErrors.m
[37/132] Compiling BraintreeCore BTConfiguration.m
[38/132] Compiling BraintreeCore BTPaymentMethodNonce.m
[39/132] Compiling BraintreeCore BTGraphQLHTTP.m
[40/132] Compiling BraintreeCore BTConfiguration+GraphQL.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.
[41/132] Compiling BraintreeCore BTPreferredPaymentMethods.m
[41/132] Compiling BraintreeCore BTBinData.m
[41/132] Compiling BraintreeCore BTAppContextSwitcher.m
[41/132] Compiling BraintreeCore BTAnalyticsService.m
[41/132] Compiling BraintreeCore BTKeychain.m
[41/132] Compiling BraintreeCore BTClientMetadata.m
[41/132] Compiling BraintreeCore BTJSON.m
[41/132] Compiling BraintreeCore BTCacheDateValidator.m
[41/132] Compiling BraintreeCore BTURLUtils.m
[41/132] Compiling BraintreeCore BTClientToken.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>
BUILD FAILURE 6.3 macosSpm