#krustyflakes-paymentsheet
1 messages · Page 1 of 1 (latest)
I don't know off the top of my head, but let me see what I can find. Can you share an example of the full, exact error message you're getting?
You're using Cocoapods, right? or are you installing the library manually?
cocoapods
what version of xcode are you using?
13.3
Hmmmm something is obviously wonky with StripeUICore, but it's hard for me to pinpoint what - when you running the clean install, do you see it installing StripeUICore in the logs?
they all seem to be there with the latest version
I'm pretty certain something is not being cleaned up properly, so it's looking at the wrong String file - let me try and find someone else who knows more about cocoapods
🙏
Hey, just updating to say I am still looking in to this. The good/bad news is that I am able to build without this error in my local project
mm sounds it might be something with my setup
i'll try to do another cleanup
and hopefully i can sort it out, but thanks for ruling out any other issue
Sounds good. I will try to see how recently that code was added and if I can find anything about that "Localized" member
thanks!
And just to double check, are you using at least XCode 13.2.1 and you are targeting at least iOS 12? I see you already answered those questions
Also are you seeing any build errors for StripeCore? That is where this Localized property comes from so I am wondering if this is some downstream issue of that
@polar oracle Just wondering if you still need help with this!
Hi, yes it was showing the same issue after doing a second clean install
but im guessing theres something wrong with my pods
Interesting. I can see that the old version you were using came just before the version that added the Localized enum. https://github.com/stripe/stripe-ios/releases/tag/21.9.0
Have you been able to see so far if you can access other things that weren't in 21.7.0?
Wait. Of course some of this code is from later versions, otherwise the String.Localized code wouldn't be there at all
What version does StripeCore show in your Podfile.lock file?
When you get a chance, can you explicitly check the version file for your local StripeCore version? It will be at "Pods/StripeCore/StripeCore/StripeCore/Source/API Bindings/StripeAPIConfiguration+Version.swift from your project's directory
Also if you want to check for the specific file where this is defined, it will be at Pods/StripeUICore/StripeUICore/StripeUICore/Source/Helpers/String+Localized.swift https://github.com/stripe/stripe-ios/blob/master/StripeUICore/StripeUICore/Source/Helpers/String%2BLocalized.swift
Hey, going to archive this thread soon because I haven't heard back in a bit. If you still need help with this, we can take a deeper look if you can make a minimal repro project that gets this error and send it in to us through our support team https://support.stripe.com/?contact=true