Closed vitzaoral closed 1 year ago
did you you try running this command?
react-native start -- --resetCache
Yes, many times š I tried just clone example project, run it with npm, yarn..no luck...maybe it is cause by XCode version (14.0.1). I've read many other forums where they describe a similar error and some have been helped by downgrading Xcode to version 13. But I haven't tried this.
So I figured it up. It seems it isn't fault of this package but problem of the Vision camera package and Xcode version 14. One workaround could be downgrade Xcode to version 13. Or you can follow this thread.
In Xcode workspace, find FrameProcessorPlugin.h file and replace line 56:
__attribute__((constructor)) static void VISION_CONCAT(initialize_, objc_name)() \
with
+(void)load \
Built project, it works š
I've had the same issue on a project with the following dependencies and I've resolved clearing metro cache with this guide: https://facebook.github.io/metro/docs/troubleshooting/
"dependencies": {
"expo": "~48.0.15",
"react": "18.2.0",
"react-native": "0.71.7",
"react-native-camera": "^4.2.1",
"react-native-reanimated": "~2.14.4",
"react-native-vision-camera": "^2.15.4",
"typescript": "^4.9.4",
"vision-camera-ocr": "^1.0.0",
....
},
Hi, i am trying to get start with video-camera-ocr project, but with no luck. When I wan't to use scanOCR(frame) function, I always get error: Property '__scanOCR' doesn't exist. I am using yarn to install.
versions:
my dependencies:
my babel.config.js:
Whole error:
I tried just clone example from this repository, same problem... I tried other preprocessors (for example Image labeler and it's OK).
Thank you.