Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNFIRMessaging.h not found #156

Closed
jr-k opened this issue Oct 13, 2016 · 6 comments
Closed

RNFIRMessaging.h not found #156

jr-k opened this issue Oct 13, 2016 · 6 comments

Comments

@jr-k
Copy link

jr-k commented Oct 13, 2016

Hello,

I've an issue when inserting RNFIRMessaging.h in my AppDelegate.m (using react 0.35 and xcode 8)

  1. I added Firebase/Messaging, uncommented use_framework
  2. I installed library with npm and linked with rnpm (RNFIRMessaging.Xcodeproj is in Librarires and RNFIRMessaging.a is linked in my project's target)
  3. When I insert #import "RNFIRMessaging.h" I got this issue:

Image of error

Any idea ?

Thanks !

@tioback
Copy link

tioback commented Oct 14, 2016

I couldn't find a fix for this, so I gave up and reinstalled it manually.

@the-simian
Copy link
Contributor

Hey I think this worked: #21

@evollu
Copy link
Owner

evollu commented Oct 14, 2016

@the-simian if this fix works, it means the link function has a bug

@the-simian
Copy link
Contributor

the-simian commented Oct 14, 2016

Hey the link function does have a problem! I've been able to zero in on it, but I have to admit I do n't fully understand what the fix is. I'll link to the thread that had it.

facebook/react-native#10032 <---- This. Seems related to an older/version and newer version of... this (CocoaPods/CocoaPods#1275)

I actually got past this specific error in this thread, but now my project doesn't see FirebaseAnalytics (or any of the Firebase modules, tbh). And i don't believe I have a malformed podfile, and I've done most of the 'fixes' I've seen on SO too. Most of these fixes led to uninstalling and reinstalling all the pods. i've done that repeatedly - that's not it.

I am not sure if this could also be a side-effect of bad linking, or somethign else. If I get it working I'll post what worked.

@jr-k
Copy link
Author

jr-k commented Oct 14, 2016

Clean my project and re-installing it worked.. Don't know what is the main issue but It's ok so I'm closing it now. Thanks btw

@jr-k jr-k closed this as completed Oct 14, 2016
@the-simian
Copy link
Contributor

I wanted to follow up. I simply could not get cocoapods to link (that was indeed the main problem), so I did the installation without them, and that got me further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants