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

fatal error: 'React/RCTDefines.h' file not found #31

Open
jacky-ew opened this issue Mar 27, 2020 · 2 comments
Open

fatal error: 'React/RCTDefines.h' file not found #31

jacky-ew opened this issue Mar 27, 2020 · 2 comments

Comments

@jacky-ew
Copy link

fatal error: 'React/RCTDefines.h' file not found
#import <React/RCTDefines.h>

running react-native run-ios into this, please help.

@campions
Copy link

It happens to me too, please help

@fabio-nettis
Copy link

fabio-nettis commented Jul 26, 2021

fatal error: 'React/RCTDefines.h' file not found
#import <React/RCTDefines.h>

running react-native run-ios into this, please help.

For anybody searching a solution to this problem, go to the Header Search Paths of the RNTextDetector Target and set it to recursive. To do so go to Libraries > RNTextDetector > Targets > RNTextDetector > Build Settings > Header Search Paths and add:

  1. $(PROJECT_DIR)/../../../../ios/Pods/Headers/Public
  2. $(SRCROOT)/../../../ios/Pods

Screen Shot 2021-07-26 at 09 23 51

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

3 participants