React-native-fcm: "RNFIRMessaging.h" file not found.

Created on 29 Jul 2016  路  2Comments  路  Source: evollu/react-native-fcm

This is the same issue I think that was previously closed here, but is still a problem:
https://github.com/evollu/react-native-fcm/issues/21

Following the instructions exactly, even adding the library manually, I've tried everything but the project never sees the RNFIRMessaging.h file and the build fails every time.

Are there missing steps in the documentation, perhaps? I'm using Cocoapods, and I can see the Firebase Messaging library in my app, everything appears in the right place, but it can't see it on build.

Most helpful comment

cpsiaki figured it out here:
https://github.com/evollu/react-native-fcm/issues/21#issuecomment-236192491

I needed to add '$(SRCROOT)/../node_modules/react-native-fcm/ios' to header search paths in build settings. That seemed to work. Perhaps should be added to the troubleshooting list?

All 2 comments

cpsiaki figured it out here:
https://github.com/evollu/react-native-fcm/issues/21#issuecomment-236192491

I needed to add '$(SRCROOT)/../node_modules/react-native-fcm/ios' to header search paths in build settings. That seemed to work. Perhaps should be added to the troubleshooting list?

I've added but I still with the problem :(
is there anything that I can try to solve it?

I'm using Cocoapods, I even tried to manualy instalation, but noones I've got it

react-native: 0.54.0
react-native-fcm: ^14.1.1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahmed1490 picture ahmed1490  路  5Comments

404sand808s picture 404sand808s  路  5Comments

andryuwka picture andryuwka  路  6Comments

mts88 picture mts88  路  5Comments

Keksike picture Keksike  路  5Comments