react-native-payments
react-native-payments copied to clipboard
iOS build failed - framework not found Braintree
After following the steps:
- npm install react-native-payments
- cd ios -> pod install
I'm getting the error framework not found Braintree
when trying to build and run the application on ios simulator
react-native version: 0.61.5 react-native-payments version: 0.8.1
I'm not sure if I should add something manually, as I guess everything should be automatically linked and working out of the box
Hey @nemanjagajic , can you share your Podfile.lock
? Would be interested to see how everything has autolinked.
You might also want to try pod repo update
and then pod install
again.
Please let me know how you get on, or @kbaxx @dovlaper in the emojis so we can make any fixes and update docs.
Nabs
@nabilfreeman Faced with a similar problem My error on attempt to build a debug version: ld: library not found for -lBraintree
The Podfile contains all required dependencies (I've tried also pod repo update)
- Braintree (4.36.1):
- Braintree/Card (= 4.36.1)
- Braintree/Core (= 4.36.1)
- Braintree/PayPal (= 4.36.1)
- Braintree/UI (= 4.36.1)
- Braintree/Card (4.36.1):
- Braintree/Core
- Braintree/Core (4.36.1)
- Braintree/PayPal (4.36.1):
- Braintree/Core
- Braintree/PayPalOneTouch
- Braintree/PayPalDataCollector (4.36.1):
- Braintree/Core
- Braintree/PayPalUtils
- Braintree/PayPalOneTouch (4.36.1):
- Braintree/Core
- Braintree/PayPalDataCollector
- Braintree/PayPalUtils
- Braintree/PayPalUtils (4.36.1)
- Braintree/UI (4.36.1):
- Braintree/Card
- Braintree/Core
Also, what is interesting, that after installing react-native-payments I've received the problem with inability to find the entry point in DerivedData (which was fixed by removing arm64 from excluded architecture, don't know if it somehow related)
Hi @nemanjagajic, @St1ma Im facing the exact same issue, first I got the DerivedData issue, I removed the arm64 from excluded archs but then I got this error, have you found any solution to this?
+1