Reputation: 11
Currently trying to integrate and @stripe/stripe-react-native and remove tipsi stripe from a react native project due to multiple issues with xcode 12.5. But integrating the Stripe official library keeps throwing undefined symbol error during build time. The suggested fix at https://www.npmjs.com/package/@stripe/stripe-react-native does not resolve the problem.
Upvotes: 1
Views: 1445
Reputation: 7409
Are you sure to cleared out all of the mentioned files/references first before creating the new swift file? The sequence does matter, here. You can also closing xcode in between the two steps to ensure all files are saved & reloaded etc.
Review the troubleshooting steps and follow carefully: https://github.com/stripe/stripe-react-native/#undefined-symbols-for-architecture-x86_64-on-ios
If you continue to encounter problems, you should open an issue on GitHub with the exact error and reproduction steps (ideally including a sample repository) so the developers can help you to resolve it.
Upvotes: 1