stripe / stripe-ios

Stripe iOS SDK
https://stripe.com
MIT License
2.13k stars 982 forks source link

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

Closed umerafzal3 closed 9 months ago

umerafzal3 commented 9 months ago

Summary

I have call PaymentSheet in swift and show this error and crash my app"StripeUICore/ImageMaker.swift:51: Assertion failed: Failed to find an image named icon_x_standalone"

Code to reproduce

STPAPIClient.shared.publishableKey = publishableKey paymentSheet = PaymentSheet(paymentIntentClientSecret: paymentIntent, configuration: .init())

iOS version

iOS 16.0 and 17.0

Installation method

pod 'StripePaymentSheet'

SDK version

StripeApplePay (23.21.1) StripeCore (23.21.1) StripePaymentSheet (23.21.1) StripePayments (23.21.1) StripePaymentsUI (23.21.1) StripeUICore (23.21.1)

Other information

porter-stripe commented 9 months ago

Duplicate of https://github.com/stripe/stripe-ios/issues/3156