I have a react native project where am using Stripe iOS SDK. I am upgrading the react-native version from 0.72.7 to 0.73.9.
After upgrading, iOS build has started failing with the error Use of undeclared identifier 'STPCardBrandVisa'.
I can find the STPCardBrand enum defined in the Stripe pods but still getting this error.
It used to work fine on previous react-native version i.e 0.72.7
Summary
I have a react native project where am using Stripe iOS SDK. I am upgrading the react-native version from
0.72.7
to0.73.9
. After upgrading, iOS build has started failing with the errorUse of undeclared identifier 'STPCardBrandVisa'
. I can find theSTPCardBrand
enum defined in the Stripe pods but still getting this error. It used to work fine on previous react-native version i.e0.72.7
Code to reproduce
Installation method
Via cocoapods
SDK version
Stripe: 23.29.1 react-native: 0.73.9 XCode: 15.4