'React/RCTEventEmitter.h' file not found - RN 0.43.2

See original GitHub issue

Description

  1. Initialized new react native project following the react native getting started.
  2. Encounter failed build with the error within terminal: 'React/RCTEventEmitter.h' file not found

Reproduction Steps and Sample Code

react-native init AwesomeProject cd AwesomeProject react-native run-ios

Result: fatal error: 'React/RCTEventEmitter.h' file not found

–Running in XCode– image

Additional Information

  • React Native version: 0.43.2 (latest)
  • Platform: iOS
  • Development Operating System: macOS Sierra v10.12.4 (latest)
  • Dev tools: XCode v8.3.1 (latest)
  • Build Options on Xcode (default) image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:12
  • Comments:21 (3 by maintainers)

github_iconTop GitHub Comments

21reactions
typehorrorcommented, Aug 3, 2017

@hramos I just endup on that thread because I’m facing this issue. It might not be dead

16reactions
giordycommented, Apr 7, 2017

I confirm I’m gettting it too unfortunately. I’m using React Native 0.43.2 too

EDIT: for me this procedure solved the issue. Very strange heisenbug 😐

EDIT 2: the procedure I linked made it possible for me to build the project but archive is still failing :\

EDIT 3: I finally managed to make archive work by editing the “scheme” and adding, in order:

  • React
  • RCTLinking
  • RCTActionSheet
  • MyProject

and also I had to disable the “Parallelize Build” option. I hope this can be useful to someone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React/RCTEventEmitter.h file not found - Stack Overflow
Open up your project in XCode. · Open up the Libraries folder. You should see React. · Drag the React. · Click on...
Read more >
React-native – React/RCTEventEmitter.h file not found
I am trying to implement PushNotificationIOS with a detached Expo app. I am running SDK 21.0.0 (React Native 0.48). I am getting React/RCTEventEmitter...
Read more >
“React/RCTLog.h file not found” an… | Apple Developer Forums
INTRO Yesterday, I installed Cocoapods, Yarn, React Native, and other programs because I had the errors listed on this page, which are reproduced...
Read more >
react-native-ble-manager - UNPKG
2, #import "React/RCTEventEmitter.h". 3, #import <CoreBluetooth/CoreBluetooth.h>. 4. 5. 6, @interface BleManager : RCTEventEmitter <RCTBridgeModule, ...
Read more >
'rncpushnotificationios.h' file not found - You.com | The AI ...
I am getting React/RCTEventEmitter file not found. I have completed the following steps: Open my .xcworkspace project. Drag the RCTPushNotification.xcodeproj ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

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 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