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

React/RCTDefines.h file not found #2

Open
elleryfamilia opened this issue Jun 24, 2021 · 2 comments
Open

React/RCTDefines.h file not found #2

elleryfamilia opened this issue Jun 24, 2021 · 2 comments

Comments

@elleryfamilia
Copy link

After linking, I'm getting the following build error: React/RCTDefines.h file not found

Linking did not add anything to my podfile so not much for me to tweak. Any help would be appreciated.

@elleryfamilia
Copy link
Author

Modifying RCTBridgeModule to the below seems to have fixed it for me

#if __has_include("RCTDefines.h")
  #import "RCTDefines.h"
#else
 #import <React/RCTDefines.h>
#endif

@december1990
Copy link

I had the same issue and joltup/rn-fetch-blob#461 (comment) helped me

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

2 participants