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

Build Failed : <React/RCTBridgeModule.h> is not found. #48

Closed
cppiod opened this issue Mar 27, 2017 · 1 comment
Closed

Build Failed : <React/RCTBridgeModule.h> is not found. #48

cppiod opened this issue Mar 27, 2017 · 1 comment

Comments

@cppiod
Copy link

cppiod commented Mar 27, 2017

When I build the demo project in Xcode, it reported <React/RCTBridgeModule.h> is not found.
I updated react-native and React to 0.42.0 and 15.4.1, but still got the error. Then I changed RCTWebChat.xcodeproj → Build Settings → Search Paths → Header Search Paths to
$(SRCROOT)/../../react-native/React and
$(SRCROOT)/../../react-native/Libraries

But it doesn't work. Anyone knows how to fix this problem? Many thanks.

@cppiod
Copy link
Author

cppiod commented Mar 27, 2017

After searching a lot of similar questions, I found an solution that works:
facebook/react-native#11721

  • In Xcode, go to the project scheme (Product -> Scheme -> Manage Scheme -> double click your project).
  • Click on the 'Build' option at the left pane.
  • Uncheck 'Parallelize Build' under Build Options.
  • Build core React - In scheme list (Project->Scheme) select React as the scheme in Xcode and build it (cmd+B)
  • Clean (cmd+shift+K) the project and build.

@cppiod cppiod closed this as completed Mar 27, 2017
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

1 participant