vision-camera-ocr
vision-camera-ocr copied to clipboard
Can't build on Ios
Version: "react": "18.2.0", "react-native": "0.72.7", "@ismaelmoreiraa/vision-camera-ocr": "^2.1.1", "react-native-worklets-core": "^0.2.4",
Bug: The following build commands failed: SwiftEmitModule normal arm64 Emitting\ module\ for\ VisionCameraOcr (in target 'VisionCameraOcr' from project 'Pods') (1 failure)
Anybody known how to fix this bug?
/node_modules/vision-camera-ocr/ios/VisionCameraOcr.swift:7:49: error: cannot find type 'FrameProcessorPluginBase' in scope public class OCRFrameProcessorPlugin: NSObject, FrameProcessorPluginBase {
Same issue here
Do you have react-native-vision-camera v4?
If you are using yarn workspaces you need to nohoist react-native-vision-camera
and any related plugin. By the way I've updated iOS native module version. I will soon open a PR.