Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Installation issues - 'Stripe/Stripe.h' file not found #732

Closed
alexpchin opened this issue Mar 4, 2021 · 5 comments
Closed

Installation issues - 'Stripe/Stripe.h' file not found #732

alexpchin opened this issue Mar 4, 2021 · 5 comments

Comments

@alexpchin
Copy link

I know that this library isn't being that actively maintained and that a new stripe-react-native library is dropping soon. However, I've got an existing project that I am working on that uses tipsi-stripe that I want to upgrade.

The installation instructions here: https://tipsi.github.io/tipsi-stripe/docs/installation.html suggest that the library isn't auto-linked. That you have to run:

yarn add tipsi-stripe
react-native link tipsi-stripe

With the latest version (8.0.2), I can see the error:

/node_modules/tipsi-stripe/ios/TPSStripe/TPSCardField.h:10:9: 'Stripe/Stripe.h' file not found
@jigartankhupp
Copy link

Same here and seems doesn't maintained it as auto linking not working in react-native 0.60+

@pablortsal
Copy link

Did you added pod 'Stripe', '~> 19.4.0' to your pod file?

@wildseansy
Copy link

wildseansy commented Mar 31, 2021

Stripe SDK 20+ uses swift package manager & swift, not objective C. As a result, there is no Stripe/Stripe.h if you're on tipsi < 9.0.0, because it expects stripe sdk v19. If you're above Stripe SDK 19, use tipsi v9.0.0 and you won't get this issue with Stripe SDK v20+.

@monochrome-yeh
Copy link

monochrome-yeh commented Jun 4, 2021

I tried tipsi-stripe (8.0.0, 8.0.1, 8.0.2, 9.0.0), lots of problem happened, I've ever seem this tech dependency before

all the solutions I've been trying,
and it'll happen whenever I change tipsi-stripe version'

  • XXX module not found

    • Make sure you have already installed pods
    cd ios
    rm -rf node_modules
    rm -rf pods
    yarn install
    pod deintegrate
    pod update
    pod install
    
    • link react-native node module into xcode
npx react-native link xxx
# i.e: npx react-native link tipsi-stripe
  • on xcode, cmmand+ shift + k and then rebuild

on old version, you don NOT need to add pod 'Stripe', '~> x.x.x' on Podfile

@fbartho
Copy link
Collaborator

fbartho commented Jun 20, 2023

Closing this ticket, so that new users don't think this project is still active.

Stripe does not want you using this, and you will find pain if you do; Please migrate to the official @stripe/stripe-react-native package, for your user's safety, and your developer's sanity!

See more:

@fbartho fbartho closed this as completed Jun 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants