question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cant build react native from box in XCode: 'event2/event-config.h' file not found

See original GitHub issue

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

Try to build clear image on iOS using XCode (Version 12.4 (12D4e)).

React Native version:

“react-native”: “0.63.4”, also try 0.63.3

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Create an app using npx: npx react-native init mob4 --template react-native-template-typescript
  2. Install pods: cd ios && pod install
  3. Open XCode and press Build

Expected Results

Normal stub app

Snack, code example, screenshot, or link to a repository:

Screenshot 2021-02-03 at 13 47 17

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:99
  • Comments:78 (1 by maintainers)

github_iconTop GitHub Comments

397reactions
michaelgmcdcommented, Feb 3, 2021

This issue is caused by an update to the “Flipper-Folly” pod-spec. If you’d like to keep Flipper enabled, you can override the version in your Podfile:

use_flipper!({ 'Flipper-Folly' => '2.3.0' })
205reactions
Jorge-Luis-Rangel-Peraltacommented, Feb 3, 2021

Disabling Flipper works like a charm.

Go to ios/Podfile

And comment this lines:

use_flipper! post_install do |installer| flipper_post_install(installer) end

Then remove Pods and re-install them

Read more comments on GitHub >

github_iconTop Results From Across the Web

'event2/event-config.h' file not found - react native
with this version I fixed the 'event2/event-config.h' file not found issue. Update. Xcode version is now 12.5 and needs a new Flipper version...
Read more >
Build input file cannot be found
An error appeared and said "Build input file cannot be found". Xcode ... "Targets" field, go to General, and select Choose Info.plist File...
Read more >
Lexical Or Preprocessor Issue - Event2/Event-Config.H File ...
Issues that do not follow this format are likely to stall. Description Try Cant build react native from box in XCode: 'event2/event-config.h' file...
Read more >
Troubleshooting
If you encounter something that is not listed here, try searching for ... Xcode should look for #import header files specified in the...
Read more >
[Solved] 'event2/event-config.h' file not found in React-Native
Hello Guys, How are you all? Hope You all Are Fine. I was trying to build for iOS in react-native, But Unfortunately, build...
Read more >

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found