tradle / react-native-crypto

partial implementation of node's `crypto` for react-native
MIT License
372 stars 85 forks source link

pod install #50

Open ekkis opened 4 years ago

ekkis commented 4 years ago

the README states that after installation of randombytes, the user should do:

# react-native link react-native-randombytes

but I believe that is outdated. unless I'm wrong I need to do instead:

cd ios && pod install

but when I do, it pukes:

[!] CocoaPods could not find compatible versions for pod "ReactCommon/jscallinvoker": In snapshot (Podfile.lock): ReactCommon/jscallinvoker (from ../node_modules/react-native/ReactCommon)

In Podfile: ReactCommon/jscallinvoker (from ../node_modules/react-native/ReactCommon)

None of your spec sources contain a spec satisfying the dependency: ReactCommon/jscallinvoker (from../node_modules/react-native/ReactCommon).

You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

which I believe is related to installation of this package since I didn't have the problem before I installed. for context, this is being installed on an RN Expo project with RN v0.62.1