naoufal/react-native-payments

iOS build error 'Braintree/Braintree-Swift.h' file not found

trigsen opened this issue · 3 comments

When I'm trying to run ios app on the simulator, I'm getting the following error:
'Braintree/Braintree-Swift.h' file not found

Screenshot 2021-03-30 at 10 38 20

The same issue!

@WiteF0x resolved by these steps:

  1. downgrade Braintree in Podfile.lock from 5.3.0 to 4.37.0 and
  2. pod deintegrate && pod install in ios folder
- Braintree (4.37.0):
    - Braintree/Card (= 4.37.0)
    - Braintree/Core (= 4.37.0)
    - Braintree/PayPal (= 4.37.0)
    - Braintree/UI (= 4.37.0)
  - Braintree/Card (4.37.0):
    - Braintree/Core
  - Braintree/Core (4.37.0)
  - Braintree/PayPal (4.37.0):
    - Braintree/Core
    - Braintree/PayPalOneTouch
  - Braintree/PayPalDataCollector (4.37.0):
    - Braintree/Core
    - Braintree/PayPalUtils
  - Braintree/PayPalOneTouch (4.37.0):
    - Braintree/Core
    - Braintree/PayPalDataCollector
    - Braintree/PayPalUtils
  - Braintree/PayPalUtils (4.37.0)
  - Braintree/UI (4.37.0):
    - Braintree/Card
    - Braintree/Core

thank you! I will try :)