Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build on Ios #36

Open
TruongNguyen95 opened this issue Dec 13, 2023 · 4 comments
Open

Can't build on Ios #36

TruongNguyen95 opened this issue Dec 13, 2023 · 4 comments

Comments

@TruongNguyen95
Copy link

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?

@shav95
Copy link

shav95 commented Feb 28, 2024

/node_modules/vision-camera-ocr/ios/VisionCameraOcr.swift:7:49: error: cannot find type 'FrameProcessorPluginBase' in scope
public class OCRFrameProcessorPlugin: NSObject, FrameProcessorPluginBase {

@CMonjo
Copy link

CMonjo commented Mar 1, 2024

Same issue here

@beatlecz
Copy link

Do you have react-native-vision-camera v4?

@BrunoVillanova
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants