So as far as I know, Expo 43 will come with React Native 0.64, which fixes all those build issues.
I think I will not merge your change @matheusmatos, so that VisionCamera only works on Expo 43 and above, just for the sake of simplicity (the VisionCamera.podspec would be very messy and users are required to edit their Podfile which is bad DX).
As for non-expo users, most of them are already on RN 0.64 anyways.
Thank you for providing a workaround people can use until then, as well as for your detailed research.
If you need it before Expo SDK 43 then you could in theory check Matheus Matos’s comment in that issue for changes to be made to RN Vision Camera (VisionCamera.podspec and ios/React Utils/JSIUtils.mm) and apply those changes using patch-package.
Based on past Expo SDK releases I suspect Expo SDK 43 should be released within the next couple of weeks.
Thanks for your response. but I’m still kinda stuck here. Your solution requires that I run
to compile the mods and generate the /iOS folder . However this also requires that I’m running on a MacOS. but I’m working with a windows machine which is the reason why I chose to subscribe to the EAS priority plan in the first place.
the version of react-native used in your project does not support react-native-vision-camera. you can wait until sdk 43 is released with a new version of react-native, or you can try using an older version of react-native-vision-camera.
No. expo prebuild is run automatically on Expo’s build servers when you run eas build.
EDIT: Sorry, I see where the confusion comes in. The ios/React Utils/JSIUtils.mm mentioned in my previous comment is part of React Native Vision Camera. Not the ios directory in the top level of your app if you run expo prebuild.
I think they must have updated something since the config plugin was created. They say themselves that it would be best to wait for Expo SDK 43. But perhaps you could try an older release of react-native-vision-camera as Brent mentioned.