Error 'React/RCTDefines.h' file not found in iOS
leenasn opened this issue · comments
I am trying to integrate this into my app which is built on detached expo kit. I followed the instructions for CocoaPods as given in the README. Can anyone help me to fix the issue?
Thanks,
Leena
I have the same problem, did you find a fix yet?
I have this issue too. It is caused by Breaking change in React Native v0.40.0 (and now, 8 months later v0.48.0 is out). You can resolve it by following these instructions from these paragraph of React Native v0.40.0 release notes:
Breaking Changes
iOS native headers moved
This change affects all native modules and application code on iOS that refer to react native .h files
After e1577df, Native code on iOS must refer to headers out of the react namespace. Previously the following would work:
#import "RCTUtils.h"
But now all headers have been moved:
#import <React/RCTUtils.h>
This means that all iOS native libraries need a major version bump for RN 0.40. We attempt to minimize changes of this magnitude, and we apologize for any inconvenience caused.
#114 should fix the issue