agoldis / react-native-mlkit-ocr

Google on-device MLKit Text Recognition for React Native
MIT License
176 stars 41 forks source link

Build errors on iOS #41

Open guilhermesandi opened 1 year ago

guilhermesandi commented 1 year ago

Hello!

I have problem when i try to build on iOS.

Captura de Tela 2022-12-12 às 15 10 45

Does anyone know what can it be?

k-saparia commented 1 year ago

Hello @guilhermesandi, did you add this line in Podfile after installation! If not, maybe It could solve the issue. or please provide more details of it. pod 'react-native-mlkit-ocr', :path => '../node_modules/react-native-mlkit-ocr'

I would recommend you to run it from cmd line and follow this step.

  1. add above line in your podfile
  2. yarn install or npm install
  3. manually delete podfile.lock
  4. cd ios && pod install && cd ..
  5. react-native run-ios.

I hope... It would help to fix your issue.

Thanks