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

RCTBridgeModule.h not found #23

Open
kyangy opened this issue Apr 14, 2017 · 6 comments
Open

RCTBridgeModule.h not found #23

kyangy opened this issue Apr 14, 2017 · 6 comments

Comments

@kyangy
Copy link

kyangy commented Apr 14, 2017

Ive done all the setup correctly but when I try to build I do get an error 'RCTBridgeModule.h' file not found in SegmentAnalytics.h

"react": "~15.4.1",
"react-native": "0.42.3"

Do you happen to know why? Thanks!

@kyangy kyangy closed this as completed Apr 14, 2017
@kyangy kyangy reopened this Apr 14, 2017
@ippy04
Copy link

ippy04 commented May 1, 2017

@kyangy likely related to this commit - f2cd586

you can use the master branch instead of the npm package to fix.

@tlenclos
Copy link

tlenclos commented May 4, 2017

@charlires Hello there ! Can you a make a new release for this please ?

@charlires
Copy link
Owner

master deployed

@roycclu
Copy link

roycclu commented May 6, 2018

Also experiencing this issue 'React/RCTBridgeModule.h' file not found

In file included from /Users/roycclu/timepop/node_modules/react-native-segment-analytics/ios/SegmentAnalytics/Classes/SegmentAnalytics.m:5:
/Users/roycclu/timepop/node_modules/react-native-segment-analytics/ios/SegmentAnalytics/Classes/SegmentAnalytics.h:1:9: fatal error: 'React/RCTBridgeModule.h' file not found
#import <React/RCTBridgeModule.h>

Any idea why?

RN 0.55.3
react-native-segment-analytics 0.1.14

@roycclu
Copy link

roycclu commented May 29, 2018

Found solution. Add this line to the SegmentAnalytics.podspec file

  s.dependency 'React'

Should fix it

@roycclu
Copy link

roycclu commented Jun 4, 2018

submitted a PR #33

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

5 participants