Hi everyone,
I'm encountering a persistent issue when trying to build my React Native project for iOS. I'm using the react-native-vision-camera library (version 4.6.4) and I've set my iOS deployment target to 16.0 in the app.json file. Despite this, the build process fails with an error related to the react-native-vision-camera pod, which seems to be stuck on an older version (2.15.4) that requires a different C++ version and a lower deployment target.
Here's what I've tried so far:
Ensured that the C++ version is set to 17 as required.
Cleared and reinstalled all pods (rm -rf ios/Pods ios/Podfile.lock followed by pod install).
Confirmed that the deploymentTarget in the app.json is set correctly to 16.0.
However, the error persists and the build continues to fail, pointing to a compatibility issue with the react-native-vision-camera pod. I'm not sure if there's a cache issue or a configuration step I'm missing.
Environment:
React Native version: 0.76.7
react-native-vision-camera version: 4.6.4
iOS deployment target: 16.0
Expo SDK version: 52.0.40
Attached: app.json, eas.json, package.json, and the error log screenshot.
Error log screnshot:
Files:
Any insights or suggestions from the community or Apple engineers would be greatly appreciated. Thank you!