Build Information
Failed to build Braintree, reference main (f5a4c8
), with Swift 5.10 for macOS (SPM) on 29 Apr 2025 21:10:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/braintree/braintree_ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/braintree/braintree_ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f5a4c81 Revert "Remove SPMTest app to avoid Carthage timeout"
Cloned https://github.com/braintree/braintree_ios.git
Revision (git rev-parse @):
f5a4c8155425f8626075539b5d759e143ff3b43f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/braintree/braintree_ios.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/braintree/braintree_ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/27] Write sources
[0/27] Copying PrivacyInfo.xcprivacy
[11/27] Write sources
[20/27] Copying PrivacyInfo.xcprivacy
[22/27] Write sources
[26/27] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/77] Emitting module BraintreeCore
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[29/82] Compiling BraintreeCore Date+MillisecondTimestamp.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[30/82] Compiling BraintreeCore Encodable+Dictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[31/82] Compiling BraintreeCore UIApplication+URLOpener.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[32/82] Compiling BraintreeCore URL+IsPayPal.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[33/82] Compiling BraintreeCore resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[34/82] Compiling BraintreeCore BTClientMetadataIntegration.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[35/82] Compiling BraintreeCore BTClientMetadataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[36/82] Compiling BraintreeCore BTCoreConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[37/82] Compiling BraintreeCore BTGraphQLErrorNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[38/82] Compiling BraintreeCore BTGraphQLErrorTree.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[39/82] Compiling BraintreeCore BTConfiguration+Core.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[40/82] Compiling BraintreeCore BTConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[41/82] Compiling BraintreeCore BTConfigurationRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[42/82] Compiling BraintreeCore ConfigurationCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[43/82] Compiling BraintreeCore ConfigurationLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[44/82] Compiling BraintreeCore LinkType.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[45/82] Compiling BraintreeCore RepeatingTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[46/82] Compiling BraintreeCore BTClientToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[47/82] Compiling BraintreeCore BTClientTokenError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[48/82] Compiling BraintreeCore ClientAuthorization.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[49/82] Compiling BraintreeCore TokenizationKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[50/82] Compiling BraintreeCore AnalyticsSendable.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[51/82] Compiling BraintreeCore BTAnalyticsEventsStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[52/82] Compiling BraintreeCore BTAnalyticsService.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[53/82] Compiling BraintreeCore BTAnalyticsServiceError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[54/82] Compiling BraintreeCore BTCoreAnalytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[55/82] Compiling BraintreeCore FPTIBatchData.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[56/82] Compiling BraintreeCore BTJSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[57/82] Compiling BraintreeCore BTJSONError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[58/82] Compiling BraintreeCore BTLogLevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[59/82] Compiling BraintreeCore BTLogLevelDescription.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[60/82] Compiling BraintreeCore BTPaymentMethodNonce.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[61/82] Compiling BraintreeCore BTAPITimingDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[62/82] Compiling BraintreeCore BTAppContextSwitchClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[63/82] Compiling BraintreeCore BTAppContextSwitcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[64/82] Compiling BraintreeCore BTBinData.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[65/82] Compiling BraintreeCore BTCardNetwork.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[66/82] Compiling BraintreeCore BTClientMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[67/82] Compiling BraintreeCore BTGraphQLHTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[68/82] Compiling BraintreeCore BTGraphQLMultiErrorNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[69/82] Compiling BraintreeCore BTGraphQLSingleErrorNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[70/82] Compiling BraintreeCore BTHTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[71/82] Compiling BraintreeCore BTHTTPError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[72/82] Compiling BraintreeCore TokenizationKeyError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[73/82] Compiling BraintreeCore BTAPIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[74/82] Compiling BraintreeCore BTAPIClientError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[75/82] Compiling BraintreeCore BTAPIClientHTTPType.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[76/82] Compiling BraintreeCore BTAPIPinnedCertificates.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[77/82] Compiling BraintreeCore BTAPIRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[78/82] Compiling BraintreeCore BTPaymentMethodNonceParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[79/82] Compiling BraintreeCore BTPostalAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[80/82] Compiling BraintreeCore BTURLUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[81/82] Compiling BraintreeCore BTWebAuthenticationSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[82/82] Compiling BraintreeCore BTWebAuthenticationSessionClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[8259/28309503] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
[1993612/30033445] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip, https://github.com/paypal/paypal-messages-ios/releases/download/1.0.0/PayPalMessages.xcframework.zip
Downloading binary artifact https://github.com/paypal/paypal-messages-ios/releases/download/1.0.0/PayPalMessages.xcframework.zip
Downloaded https://github.com/paypal/paypal-messages-ios/releases/download/1.0.0/PayPalMessages.xcframework.zip (1.33s)
[10584064/28309503] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
Downloading binary artifact https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
Downloaded https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip (2.45s)
BUILD FAILURE 5.10 macosSpm