Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] StripeUICore/ImageMaker.swift:51: Assertion failed: Failed to find an image named icon_x_standalone #4668

Open
cdcHub opened this issue Mar 15, 2025 · 0 comments
Labels

Comments

@cdcHub
Copy link

cdcHub commented Mar 15, 2025

Summary

I'm facing a crash when using @stripe/stripe-react-native version 0.43.0 with StripePaymentsUI (24.7.0). The app crashes with the following error:

StripeUICore/ImageMaker.swift:51: Assertion failed: Failed to find an image named icon_x_standalone

Code to reproduce

import { useStripe } from '@stripe/stripe-react-native';

const { presentPaymentSheet } = useStripe();

const handlePayment = async () => {
  const { error } = await presentPaymentSheet();
  if (error) {
    console.log(error);
  }
};

iOS version

Tested on iOS 17.4 (Simulator & Physical Device)

Installation method

Installed via Cocoapods

SDK version

  • @stripe/stripe-react-native: ^0.43.0
  • StripePaymentsUI (24.7.0) (from Podfile.lock)

Other information

  • Tried running pod install --repo-update, but the issue persists.
  • Also tried npx pod-install, but no luck.
  • I have attached an image of the crash log.
Image

Any guidance on resolving this issue would be appreciated. Thanks!

@cdcHub cdcHub changed the title [BUG] [BUG] StripeUICore/ImageMaker.swift:51: Assertion failed: Failed to find an image named icon_x_standalone Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant