#ab92023
1 messages · Page 1 of 1 (latest)
hey there, how did you install the stripe-react-native package?
And how are you starting the build?
Via npm and Xcode play button, into iOS 16.4 on the simulator
https://github.com/stripe/stripe-react-native#ios
You'll need to run
pod installin youriosdirectory to install the native dependencies
Did you do that part?
It sounds like that's what is missing here
Yep did that as standard
Hmm seems like a similar error for related react native libraries here:
https://github.com/facebookarchive/react-native-fbsdk/issues/755#issuecomment-644528297
Yes, it seems this is common for objective c projects, and requires adding a swift file
https://stackoverflow.com/a/67106558
This is similar to another documented troubleshooting issue in our readme:
https://github.com/stripe/stripe-react-native#undefined-symbols-for-architecture-x86_64-on-ios
Create a new Swift file to the project (File > New > File > Swift), give it any name (e.g. Fix.swift), check the appropriate Targets and create a bridging header when prompted by Xcode.