Problem
After upgrading to React Native 0.78 and enabling the New Architecture, my iOS build fails in Xcode with the following error: This occurs when trying to build my app with react-native-worklets-core (used by VisionCamera for Frame Processors).
Environment
"react-native": "0.78.0",
"react-native-worklets-core": "1.5.0",
"react-native-vision-camera": "4.6.3",
"react": "19.0.0",
What I've Tried
- Clean Build & Reinstall
- rm -rf node_modules ios/Pods ios/build && yarn install
- cd ios && pod install
- Running Codegen Manually
yarn react-native codegen
- Running pod install with RCT_NEW_ARCH_ENABLED=1