zsajjad / react-native-text-detector

Text Detector from image for react native using firebase MLKit on android and Tesseract on iOS
MIT License
221 stars 60 forks source link

Build Failure on missing TesseractOCR.h file #8

Open perryhoekstra opened 5 years ago

perryhoekstra commented 5 years ago

Compilation of RNtextDetector.m fails on the error:

.../node_modules/react-native-text-detector/ios/RNTextDetector.m:8:9: 'TesseractOCR/TesseractOCR.h' file not found

This occurs for both the Pods Approach and the Direct Linking/manual approach. In addition, adding the TesseractOCRiOS pod and attempting to reference the header files through the Build Settings/Header Search Paths did also not work.

NehaAhujaa commented 5 years ago

I am facing the same issue. Did you figure out any solution?

perryhoekstra commented 5 years ago

I actually added the .h and .m files directly to my project.

Perry Hoekstra

On Thu, Mar 21, 2019 at 2:56 PM NehaAhujaa notifications@github.com wrote:

I am facing the same issue. Did you figure out any solution?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zsajjad/react-native-text-detector/issues/8#issuecomment-475379426, or mute the thread https://github.com/notifications/unsubscribe-auth/AC5Rnk-bzU6YmcwgBOwvnumsCZJy6ZFUks5vY-PogaJpZM4YzYQP .

guotingchao commented 5 years ago

I am facing the same issue.

ngoctan95 commented 5 years ago

any updates here please?