braintree / braintree-ios-drop-in

Braintree Drop-in for iOS
https://developers.braintreepayments.com
MIT License
98 stars 77 forks source link

Undefined symbols for architecture x86_64: Undefined symbol: _RCTPresentedViewController, Undefined symbol: _RCTRegisterModule #384

Closed vishaldhanotiyadev closed 1 year ago

vishaldhanotiyadev commented 1 year ago

Integration Details :

Describe the bug I have an issue when trying to integrate react-native-braintree-dropin-ui npm. Every time when I try to compile code always shows Undefined symbols for architecture x86_64 error.

I have already tried the following solutions. https://github.com/braintree/braintree-ios-drop-in/issues/209#issuecomment-979296320

I also enable Rosetta from getInfo and then open XCode but this solution also not worked.

To Reproduce Steps to reproduce the behavior:

  1. Install react-native-braintree-dropin-ui npm.
  2. Install pod
  3. After installing the pod and running the app and get the same error again.

Screenshots

Undefined symbols for architecture x86_64:
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Showing Recent Errors Only
Undefined symbol: _RCTPresentedViewController
Undefined symbol: _RCTRegisterModule

MicrosoftTeams-image

scannillo commented 1 year ago

👋 Hi @vishaldhanotiyapersistent - the SDK you're asking about (react-native-braintree-dropin-ui) is not developed or maintained by the official Braintree/PayPal team. However, Braintree DropIn V9 only supports iOS 12+. We have also tested and confirmed it works for both x86_64 and arm64 simulators.

Since we don't maintain react-native-braintree-dropin-ui, you can ask questions in their GitHub repo. If you have an issue with the direct Braintree DropIn SDK, you can ask those here.

At the same time, feel free to open a feature request for us to add official React-Native support in the future.