react-native-text-detector icon indicating copy to clipboard operation
react-native-text-detector copied to clipboard

Build Failure on missing TesseractOCR.h file

Open perryhoekstra opened this issue 6 years ago • 4 comments

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.

perryhoekstra avatar Nov 26 '18 16:11 perryhoekstra

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

NehaAhujaa avatar Mar 21 '19 19:03 NehaAhujaa

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

Perry Hoekstra

On Thu, Mar 21, 2019 at 2:56 PM NehaAhujaa [email protected] 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 .

perryhoekstra avatar Mar 21 '19 22:03 perryhoekstra

I am facing the same issue.

guotingchao avatar Apr 14 '19 04:04 guotingchao

any updates here please?

ngoctan95 avatar Jun 06 '19 09:06 ngoctan95