react/debug/flags.h' file not found (ios build error) #2580
Labels
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snack or repo is provided
Description
My project is setup with the new arch, without flipper and with use_frameworks: static.
I already reinstalled all dependencies, cleared caches multiple times etc.
This error started happening after switching to the new architecture.
All my project dependencies are on the latest version.
I'm on latest react-native 0.72.4
I'm getting the following error when trying to build iOS (with rosetta enabled):
I created a repro project here and can reproduce the same error with a fresh react native project and just
react-native-gesture-handler
installed additionally.Steps to reproduce
npm run clean-deps
)npm install
npm run ios
Probably important: I am running on Apple Silicon
Snack or a link to a repository
https://github.com/uloco/repro-react-native-gesture-handler
Gesture Handler version
2.12.1
React Native version
0.72.4
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: