-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
'VisionCamera/VisionCamera.h' file not found🐛 #1043
Comments
One more update: main problem was, that i use use_framework, i commented it, and add to necessary pods :modular_headers => true, uncommented use_flipper!. And DONE! |
This is a bad decision. For some projects, the use of use_framework is mandatory. Are there any solutions here? |
@moygospadin Do you have any other solution instead of commenting use_framework, |
In case anyone is still looking at this, I have a solution. If you patch the VisionCamera package to create an empty VisionCamera.h file and reference in the podspec as in https://github.com/rodgomesc/vision-camera-code-scanner/blob/4dcfeabd3cd41564257e3ec1b0824f3a39b15014/.yarn/patches/react-native-vision-camera-https-95cda75d0b.patch, that fixes the compile error and the project works with use_framework. This patch is based on the newer V3 branch of react-native-vision-camera though so ymmv with the latest V2 release. |
Found a solution The problem is using this use_frameworks! in your PodFile so if you are using use_frameworks! for any reason in case of firebase, after remover use_frameworks! pod 'Firebase', :modular_headers => true you might need to turn off flipper too by commenting out this following line (for firebase, not sure about any other library) This should work fine. now you will be able to use your frame processors. Hope that helps |
For anyone reaching this comment, trying everything written before... remember to install This was the culprit in my case. |
What were you trying to do?
I trying to build my own frame process plugin. I have the following error - could not build module 'VisionCamera', Bridging-Header make like in example. Trying to set swift version to 5.2. Clean and rebuild all. Nothing helped
My Bridging-Header content
I have the following file structure
My package json
Reproduceable Code
No response
What happened instead?
Relevant log output
No response
Device
XCODE Version 13.3 (13E113)
VisionCamera Version
2.13.3
Additional information
The text was updated successfully, but these errors were encountered: