regulaforensics / react-native-document-reader

React-Native Framework for reading and validation of identification documents
19 stars 10 forks source link

Unable to Install Pod's #14

Closed UsamaIkraam0099 closed 2 years ago

UsamaIkraam0099 commented 2 years ago

Bug Description I try to integrate regula React-Native SDK into my app. After installing two dependencies "@regulaforensics/react-native-document-reader-api": "^6.4.0" AND "@regulaforensics/react-native-document-reader-core-doctype": "^6.4.0" I move to ios folder and type "pod install" but its not working. I mention the image below.

Steps To Reproduce

  1. Go to project folder.
  2. Install mention dependencies
  3. Go to IOS folder and install "pod install"
  4. Throwing error like [!] CocoaPods could not find compatible versions for pod "DocumentReader": In Podfile: RNDocumentReaderApi (from ../node_modules/@regulaforensics/react-native-document-reader-api) was resolved to 6.4.0, which depends on DocumentReader (= 6.4.2552)

None of your spec sources contain a spec satisfying the dependency: DocumentReader (= 6.4.2552).

You have either:

Expected behavior It should be install without error.

Screenshots Screenshot 2022-07-20 at 9 54 05 AM

Environment:

UsamaIkraam0099 commented 2 years ago

I'm using 30 days trial license. Any help would be appreciated, Thanks.

vyakimchik commented 2 years ago

Hi @UsamaIkraam0099,

Please try to run pod update instead of pod install. It seems that you don't have the required version of the Document Reader installed on your computer. If it doesn't help, try to execute the pod repo update command. Then let us know if it helps you.

UsamaIkraam0099 commented 2 years ago

Hi @vyakimchik

Thanks for your help. I try with ### pod update and it works fine.