-
Notifications
You must be signed in to change notification settings - Fork 220
'VisionCamera/FrameProcessorPlugin.h' file not found #62
Comments
did you found a solution for this? im having exactly the same error : "'VisionCamera/FrameProcessorPlugin.h' file not found" |
Same issue here |
same here as well. Tried cleaning the build folder, restarting watchman, edit: I resolved it locally. I believe it was because I was missing |
Same issue on RN 0.69.1 with |
Can you please elaborate a bit? |
I have the same issue - @react-native-firebase > 15 requires use_frameworks! in the podfile vision-camera-code-scanner/VisionCameraCodeScanner-Bridging-Header.h and VisionCameraCodeScanner.m |
Same issue here |
I believe this has something to do with use_frameworks! for the firebase pods. So instead I added these lines in the Podfile.
And inside
|
Same issue here |
I have the same issue |
Same issue here |
I encountered the same issue, but I don't use |
having the same issue, on M1 arch |
sadly I am getting this on intel too :( anyone who knows how to fix this please give instructions or resources |
I have this issue too, and will be glad if anyone can give a solution. |
Also encountered this with firebase v15 and react native 0.70, Any possible workarounds on this? |
The same issue with firebase v15.7.0 and react native 0.69.3, Any possible workarounds on this? |
I downgraded firebase to v14.2.0 and changed the podfile to be without the |
The same issue with react native 0.69.5, Any possible workarounds on this? |
1 similar comment
The same issue with react native 0.69.5, Any possible workarounds on this? |
Since use_frameworks is being used, we have to define these libraries as static. The workaround in Podfile works for me. I've put that just above
|
@MMYurt it does not works for me. Now I have a new error :/
|
Bitcode has been deprecated in Xcode 14 and App Store no longer accepts bitcode submissions. You should try to disable it: Set |
@brynjagr I've tried this, but error persists :/ |
I had got this error as well and added the script below into post_install
After that, it was continuing to gives different errors. I choose to downgrade firebase version to v14 and deleted use_frameworks |
any news here? |
I've also started having this issue after following the @react-native-firebase/app setup guide. In going through the steps outlined here to have a clean install of the dependencies: rm -rf package-lock.json && rm -rf yarn.lock && rm -rf node_modules
rm -rf ios/Podfile.lock && rm -rf ios/Pods
npm i # or "yarn"
cd ios && pod repo update && pod update && pod install I get the following error in the last step: [!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
In Podfile:
RNFBAuth (from `../node_modules/@react-native-firebase/auth`) was resolved to 15.7.1, which depends on
Firebase/Auth (= 10.0.0) was resolved to 10.0.0, which depends on
FirebaseAuth (~> 10.0.0) was resolved to 10.0.0, which depends on
GTMSessionFetcher/Core (~> 2.1)
vision-camera-code-scanner (from `../node_modules/vision-camera-code-scanner`) was resolved to 0.2.0, which depends on
GoogleMLKit/BarcodeScanning was resolved to 0.60.0, which depends on
GoogleMLKit/MLKitCore (= 0.60.0) was resolved to 0.60.0, which depends on
MLKitCommon (~> 0.60.0) was resolved to 0.60.0, which depends on
GTMSessionFetcher/Core (~> 1.1) Updating my "@react-native-firebase/app": "^14.12.0",
"@react-native-firebase/auth": "^14.12.0",
// other react-native-firebase packages... As well as removing the Maybe updating the |
Am also facing the issue, don't know what to do next, i tried all the suggestion as said in the discussions here, but not able to overcome the issue kindly help me. in pod file i included the following pre_install do |installer| $RNFirebaseAsStaticFramework = true post_install do |installer|
end i also use rn firebase also for crashlytics & messaging my react native info System: |
did someone found a solution about it ? |
This works for me but after this i got another error saying : /Users/username/Library/Developer/Xcode/DerivedData/name/Build/Products/Debug-iphonesimulator/FirebaseFunctions/FirebaseFunctions.framework/Headers/FirebaseFunctions-Swift.h:450:2 Unsupported Swift architecture |
I have exactly same issue here, is there any update? |
it almost a year now and no solution, pretty sad 🫤 |
In my case I only installed npm i vision-camera-code-scanner , then I also installed react-native-vision-camera, and build run, seems react-native-vision-camera is dependency for vision-camera-code-scanner but nevertheless. |
This issue is preventing me from using this library at work, I've tried the podfile solutions above to no avail. It looks like this PR here might fix this when it's done, Would there be any chance to backport this to v2? The podfile fixes above actually solves the problem of header not being found but then I get around 51 build errors of "Undefined symbol: ...something firebase related", which I haven't been able to fix |
I also stuck with this issue after updating xcode to 14.3 and adding use_frameworks! to Podfile |
It worked for me. |
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 |
This is not effective bcz I need to check with all npm modules. |
It worked for me, thank you |
yeah it is working |
This is kind of obvious but I think the installation instructions aren’t great. It’s true, you also need I also had to downgrade |
this lib needs to be updated with V3... |
i have following package json
"@expo/react-native-action-sheet": "^3.13.0",
"@gorhom/bottom-sheet": "^4",
"@gorhom/portal": "^1.0.13",
"@react-native-async-storage/async-storage": "^1.16.1",
"@react-native-community/blur": "^3.6.0",
"@react-navigation/bottom-tabs": "^6.2.0",
"@react-navigation/native": "^6.0.8",
"@react-navigation/native-stack": "^6.5.0",
"@rneui/base": "^4.0.0-rc.1",
"@rneui/themed": "^4.0.0-rc.1",
"@types/lodash.isequal": "^4.5.5",
"@types/react-native-snap-carousel": "^3.8.5",
"axios": "^0.26.0",
"buffer": "^6.0.3",
"date-fns": "^2.28.0",
"form-data": "^4.0.0",
"formik": "^2.2.9",
"i18next": "^21.6.12",
"i18next-http-backend": "^1.4.0",
"lodash.clonedeep": "^4.5.0",
"lodash.debounce": "^4.0.8",
"lodash.isempty": "^4.4.0",
"lodash.isequal": "^4.5.0",
"mobx": "^6.4.2",
"mobx-devtools-mst": "^0.9.30",
"mobx-react-lite": "^3.3.0",
"mobx-state-tree": "^5.1.3",
"qs": "^6.10.3",
"querystring": "^0.2.1",
"react": "17.0.2",
"react-i18next": "^11.15.5",
"react-native": "0.68.0",
"react-native-compressor": "^1.5.2",
"react-native-config": "^1.4.5",
"react-native-currency-input": "^1.0.1",
"react-native-date-picker": "^4.2.0",
"react-native-flash-message": "^0.2.1",
"react-native-fs": "^2.19.0",
"react-native-gesture-handler": "^2.4.2",
"react-native-image-picker": "^4.7.3",
"react-native-network-logger": "^1.12.0",
"react-native-permissions": "^3.3.1",
"react-native-photo-editor": "1.0.13",
"react-native-reanimated": "^2.6.0",
"react-native-safe-area-context": "^4.0.1",
"react-native-screens": "^3.12.0",
"react-native-shake": "^5.1.1",
"react-native-snap-carousel": "^3.9.1",
"react-native-svg": "^12.1.1",
"react-native-table-component": "^1.2.2",
"react-native-text-size": "^4.0.0-rc.1",
"react-native-url-polyfill": "^1.3.0",
"react-native-vision-camera": "^2.13.1",
"react-native-web": "^0.17.7",
"react-query": "^3.34.16",
"vision-camera-code-scanner": "^0.2.0",
When i trying to build react native ios i have following error 'VisionCamera/FrameProcessorPlugin.h' file not found in VisionCameraCodeScanner-Bridging-Header.h file
Xcode Version 13.3 (13E113)
The text was updated successfully, but these errors were encountered: