I have a cleanly installed Mac 10.15.7
, with freshly installed xCode (12.4
) on in it. I installed react-native
following the official instructions here. I created a new project and tried to build it (from Xcode), but ended up with this error:
Lexical or Preprocessor Issue - event2/event-config.h file not found
It appears to have something to do with Flipper
. I have absolutely no clue how to fix this, as I am not familiar with CPP
development and the file/data-structure it needs...
That's because there is a new version of Flipper and React Native might not come with the right one so best is to go in your podfile and add this use_flipper!({ 'Flipper' => '0.74.0' })
then run pod install