Cloud Messaging build error: ‘RCTEventEmitter.h’ file not found

I am getting the following error when trying to build my app after enabling Cloud Messaging:

In file included from /xxx/ios/App/AppDelegate.m:6:
/xxx/../node_modules/react-native-firebase/ios/RNFirebase/RNFirebaseMessaging.h:8:9: fatal error: 'RCTEventEmitter.h' file not found
#import "RCTEventEmitter.h"
        ^
1 error generated.

Using "react-native": "0.42.0" and "react-native-firebase": "^1.0.0-alpha14" installed via pod like described here http://invertase.io/react-native-firebase/#/installation-ios?id=_3-cloud-messaging-optional

What am I doing wrong?

Author: Fantashit

1 thought on “Cloud Messaging build error: ‘RCTEventEmitter.h’ file not found

Comments are closed.

Cloud Messaging build error: ‘RCTEventEmitter.h’ file not found

I am getting the following error when trying to build my app after enabling Cloud Messaging:

In file included from /xxx/ios/App/AppDelegate.m:6:
/xxx/../node_modules/react-native-firebase/ios/RNFirebase/RNFirebaseMessaging.h:8:9: fatal error: 'RCTEventEmitter.h' file not found
#import "RCTEventEmitter.h"
        ^
1 error generated.

Using "react-native": "0.42.0" and "react-native-firebase": "^1.0.0-alpha14" installed via pod like described here http://invertase.io/react-native-firebase/#/installation-ios?id=_3-cloud-messaging-optional

What am I doing wrong?

Author: Fantashit

1 thought on “Cloud Messaging build error: ‘RCTEventEmitter.h’ file not found

Comments are closed.

Cloud Messaging build error: ‘RCTEventEmitter.h’ file not found

I am getting the following error when trying to build my app after enabling Cloud Messaging:

In file included from /xxx/ios/App/AppDelegate.m:6:
/xxx/../node_modules/react-native-firebase/ios/RNFirebase/RNFirebaseMessaging.h:8:9: fatal error: 'RCTEventEmitter.h' file not found
#import "RCTEventEmitter.h"
        ^
1 error generated.

Using "react-native": "0.42.0" and "react-native-firebase": "^1.0.0-alpha14" installed via pod like described here http://invertase.io/react-native-firebase/#/installation-ios?id=_3-cloud-messaging-optional

What am I doing wrong?

Author: Fantashit

1 thought on “Cloud Messaging build error: ‘RCTEventEmitter.h’ file not found

Comments are closed.