naoufal / react-native-payments

Accept Payments with Apple Pay and Android Pay using the Payment Request API.
https://www.npmjs.com/package/react-native-payments
1.59k stars 412 forks source link

iOS build failed - framework not found Braintree #261

Open nemanjagajic opened 3 years ago

nemanjagajic commented 3 years ago

After following the steps:

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

nabilfreeman commented 3 years ago

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

St1ma commented 3 years ago

@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)

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)

estebanr92 commented 3 years ago

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?

77TecShaeer commented 7 months ago

+1