-
Notifications
You must be signed in to change notification settings - Fork 13
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
[iOS] 'RCTBridgeModule.h' file not found #2
Comments
Hi @urikphytech, thanks for writing in. What version of react-native are you on? This module only works with <0.40 unfortunately. However, let me take a look at what it would take to upgrade. I'll post here with an update soon |
Thanks for the response. I'm using 0.42.0 |
Released version 1.0.0, want to give it a try @urikphytech? https://www.npmjs.com/package/react-native-heap-analytics |
@negativetwelve Thanks! Now i'm getting this error:
|
yeah that's the main library not being found - you're using cocoapods correct? Make sure you run |
Yeah, initialized a podfile and added the code you mentioned in the readme. I changed the header search path to recursive, and now i'm getting the original error again :-/ |
Yes |
hmm I was trying to reproduce this on a small react-native project but couldn't. I'll keep comparing the differences between my project and the readme, but if you could supply a reproducible project that would be super helpful |
Hey @urikphytech, have you tried this? facebook/react-native#12042 (comment) Basically add React to the build phrase of your project, uncheck parallelize builds, then move React to build before your project. Let me know if that helps |
hey @urikphytech just checking in, was the above solution above to make it work? |
Hey @negativetwelve, thanks for you help. Due to time constraints I ended up integrating mixpanel so I hadn't had the chance to try your suggestion. I promise to give it a try once I have some free time. Again, thanks a lot for your help! |
no worries, thanks for following up! |
Hi @urikphytech, just wanted to follow up on this because I reproduced it in another project I'm working on! Turns out, if you have the Let me know if you have a chance to try it out! I'm going to close this for now since that fixed the issue for me! |
You'll also have to remove |
After installing library using cocoa pods i'm getting the following error:
'RCTBridgeModule.h' file not found
inRNHeap.h
Here are some of my configurations:
Podfile:
Header search paths include:
$(SRCROOT)/../node_modules/react-native-heap-analytics/ios (non-recursive)
Anything else I can provide?
Thanks!
Uri
The text was updated successfully, but these errors were encountered: