I got this error "Use of undeclared identifier 'jsi'; did you mean 'facebook::jsi'" After upgraded from React Native 0.68.2 to 0.69
Question
I created a new React Native 0.69 app for reproducing purpose and installed only react-native-vision-camera library for testing and I got this "Use of undeclared identifier 'jsi'; did you mean 'facebook::jsi'" when I did Xcode debug build.
What I tried
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
VisionCamera Version
2.13.5
Additional information
- [ ] I am using Expo
- [X] I have read the Troubleshooting Guide
- [X] I agree to follow this project's Code of Conduct
- [X] I searched for similar questions in the issues page as well as [in the discussions page](https://gith
ub.com/mrousavy/react-native-vision-camera/discussions) and found none.
I'm having the same issue after upgrading from react-native 0.67.2 to 0.69.0.
Tried spinning up a PR quickly but unfortunately have to put it on hold for now.
I have other issue with 0.69.1
I have other issue with 0.69.1
Same problem here
I have other issue with 0.69.1
Same problem here
Seems to be 0.69.1, not vision camera: https://github.com/facebook/react-native/issues/34102
Similar/same issue here https://github.com/Shopify/react-native-skia/pull/629. Solved temporarily in my codebase by putting in the facebook:: namespace qualifier in JSConsoleHelper.mm. Also had to copy the bridging headers per the other 0.69 issue.
If it's helpful to anyone, I had to create a local patch meanwhile this gets resolved.
In order to do that, you can always use patch-package. Just add to the JSConsoleHelper.mm, as described by @dminkovsky here, the facebook:: namespace.
I was even able to fix it for an expo eas build.
Closing as this is a stale issue - this might have been fixed with the full rewrite in VisionCamera V3 (🥳) - if not, please create a new issue.