yasintorun / vision-camera-base64

Vision Camera Frame Processor plugin. Convert the frame to base64 image data
https://www.npmjs.com/package/vision-camera-base64
MIT License
14 stars 8 forks source link

Cannot find type 'FrameProcessorPluginBase' in scope #1

Closed PiotrKalinski closed 1 year ago

PiotrKalinski commented 1 year ago

Hello,

I am quite newbie in mobile development, I was trying to use your plugin but I got problem with project build

image

I did pod install, using XCode 14.0.

yasintorun commented 1 year ago

If you are building this plugin, please build example/ios project.

PiotrKalinski commented 1 year ago

I wanted to build my react-native app to which I added react-native-vision-camera which was working fine but adding plugin crashes build and I am stuck with it. Do I need to do anything else than pod install in /ios folder?

yasintorun commented 1 year ago

I wanted to build my react-native app to which I added react-native-vision-camera which was working fine but adding plugin crashes build and I am stuck with it. Do I need to do anything else than pod install in /ios folder?

No, you don't need anything in the ios folder. The issue seems to be that it doesn't see the vision camera. Is the Vision camera frame processor working?

PiotrKalinski commented 1 year ago

Yes but it looks like using yarn it didn't install vision camera for ios, how can I install it manually?

yasintorun commented 1 year ago

Yes but it looks like using yarn it didn't install vision camera for ios, how can I install it manually?

But you said the vision camera is working. Please reinstall vision camera and reanimated packages.

suwu150 commented 1 year ago

@PiotrKalinski May I ask how you finally solved this problem?