React Native Stripe Xcode 14 Build Failed

801 Views Asked by At

"@stripe/stripe-react-native": "^0.2.3"

1

I hope you are doing well. I face a problem when i try to run build on xcode 14.1 (Beta Version).

**Build failed due to react native stripe package. Bug occur in CardDetailsEditView.swift file (Stored properties cannot be marked potentially unavailable with '@available'). **

I waste my 2-3 days to solve this bug but all is vain. Can you please help me what i need to do change in my file for a successful build.

Thanks in advance.

I change pod file version from 11 to 12.4 12 13 and 14 but not working for me.

1

There are 1 best solutions below

2
On

Based on the discussion in this github issue. It looks like you need to use an older version of xcode to avoid this error.