Before posting your question, make sure you’ve read the documentation for both EAS Build & Submit.
If your Android or iOS build is failing- make sure you do your own research on the error message first before posting (this will give you a better understanding, and you might even find that someone else has already solved the issue!) It is not up to the Expo team to debug your project or build.
In your post, please share:
- Whether you are bare or managed workflow
- Your
eas-cli
version >= 3.1.1 - What you have tried so far
While building IOS we are getting Stripe payment error.
(ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift:240:54)
238 | let pk_didSelectShippingMethod = #selector(
239 | (PKPaymentAuthorizationControllerDelegate.paymentAuthorizationController(
> 240 | _:didSelectShippingMethod:handler:)) as pkDidSelectShippingMethodSignature)
| ^ '-> ((PKPaymentAuthorizationController, PKShippingMethod, @escaping (PKPaymentRequestShippingMethodUpdate) -> Void) -> Void)?' is not convertible to 'pkDidSelectShippingMethodSignature' (aka 'Optional<((any PKPaymentAuthorizationControllerDelegate) -> (PKPaymentAuthorizationController, PKShippingMethod, @escaping (PKPaymentRequestShippingMethodUpdate) -> ()) -> ())>')
241 | let stp_didSelectShippingMethod = #selector(
242 | _stpinternal_STPApplePayContextDelegateBase.applePayContext(_:didSelect:handler:))
243 | let pk_didSelectShippingContact = #selector(
414
Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
415
Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'MyMyndMyMental' from project 'MyMyndMyMental')
416
Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'MyMyndMyMental' from project 'MyMyndMyMental')
417
▸ ** ARCHIVE FAILED **
418
▸ The following build commands failed:
419
▸ SwiftCompile normal arm64 Compiling\ Address.swift,\ BillingDetails.swift,\ BillingDetails+ApplePay.swift,\ Blocks.swift,\ CardBrand.swift,\ FraudDetectionData.swift,\ PaymentIntent.swift,\ PaymentIntent+API.swift,\ PaymentIntentParams.swift,\ PaymentMethod.swift,\ PaymentMethod+API.swift,\ PaymentMethodParams.swift,\ PKContact+Stripe.swift,\ PKPayment+Stripe.swift,\ SetupIntent.swift,\ SetupIntent+API.swift,\ SetupIntentParams.swift,\ STPAnalyticsClient+Payments.swift,\ STPAnalyticsClient+PaymentsAPI.swift,\ STPAPIClient+ApplePay.swift,\ STPAPIClient+PaymentsCore.swift,\ STPApplePayContext.swift,\ STPApplePayContext+LegacySupport.swift,\ STPTelemetryClient.swift,\ StripeCore+Import.swift,\ Token.swift,\ Token+API.swift,\ UserDefaults+PaymentsCore.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/Address.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/BillingDetails.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails+ApplePay.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/Blocks.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/CardBrand.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Telemetry/FraudDetectionData.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/PaymentIntent+API.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntentParams.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentMethod.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/PaymentMethod+API.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentMethodParams.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/Extensions/PKContact+Stripe.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/Extensions/PKPayment+Stripe.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/SetupIntent.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/SetupIntent+API.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/SetupIntentParams.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Analytics/STPAnalyticsClient+Payments.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Analytics/STPAnalyticsClient+PaymentsAPI.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/ApplePayContext/STPAPIClient+ApplePay.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Categories/STPAPIClient+PaymentsCore.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext+LegacySupport.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Telemetry/STPTelemetryClient.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/StripeCore+Import.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/Token.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Token+API.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Categories/UserDefaults+PaymentsCore.swift (in target 'StripeApplePay' from project 'Pods')
420
▸ CompileSwift normal arm64 (in target 'StripeApplePay' from project 'Pods')
421
▸ (2 failures)
422
** ARCHIVE FAILED **
423
424
425
The following build commands failed:
426
SwiftCompile normal arm64 Compiling\ Address.swift,\ BillingDetails.swift,\ BillingDetails+ApplePay.swift,\ Blocks.swift,\ CardBrand.swift,\ FraudDetectionData.swift,\ PaymentIntent.swift,\ PaymentIntent+API.swift,\ PaymentIntentParams.swift,\ PaymentMethod.swift,\ PaymentMethod+API.swift,\ PaymentMethodParams.swift,\ PKContact+Stripe.swift,\ PKPayment+Stripe.swift,\ SetupIntent.swift,\ SetupIntent+API.swift,\ SetupIntentParams.swift,\ STPAnalyticsClient+Payments.swift,\ STPAnalyticsClient+PaymentsAPI.swift,\ STPAPIClient+ApplePay.swift,\ STPAPIClient+PaymentsCore.swift,\ STPApplePayContext.swift,\ STPApplePayContext+LegacySupport.swift,\ STPTelemetryClient.swift,\ StripeCore+Import.swift,\ Token.swift,\ Token+API.swift,\ UserDefaults+PaymentsCore.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/Address.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/BillingDetails.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails+ApplePay.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/Blocks.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/CardBrand.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Telemetry/FraudDetectionData.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/PaymentIntent+API.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntentParams.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentMethod.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/PaymentMethod+API.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentMethodParams.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/Extensions/PKContact+Stripe.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/Extensions/PKPayment+Stripe.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/SetupIntent.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/SetupIntent+API.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/SetupIntentParams.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Analytics/STPAnalyticsClient+Payments.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Analytics/STPAnalyticsClient+PaymentsAPI.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/ApplePayContext/STPAPIClient+ApplePay.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Categories/STPAPIClient+PaymentsCore.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext+LegacySupport.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Telemetry/STPTelemetryClient.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/StripeCore+Import.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/Token.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Token+API.swift /Users/expo/workingdir/build/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/PaymentsCore/Categories/UserDefaults+PaymentsCore.swift (in target 'StripeApplePay' from project 'Pods')
427
CompileSwift normal arm64 (in target 'StripeApplePay' from project 'Pods')
428
(2 failures)
429
Exit status: 65
430
431
+-------------+-------------------------+
432
| Build environment |
433
+-------------+-------------------------+
434
| xcode_path | /Applications/Xcode.app |
435
| gym_version | 2.210.1 |
436
| sdk | iPhoneOS16.1.sdk |
437
+-------------+-------------------------+
438
439
Looks like fastlane ran into a build/archive error with your project
440
It's hard to tell what's causing the error, so we wrote some guides on how
441
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
442
Before submitting an issue on GitHub, please follow the guide above and make
443
sure your project is set up correctly.
444
fastlane uses `xcodebuild` commands to generate your binary, you can see the
445
the full commands printed out in yellow in the above log.
446
Make sure to inspect the output above, as usually you'll find more error information there
447
448[stderr]
[!] Error building the application - see the log above
449
Error: Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.