Freshly detached app: 'React/RCTDefines.h' file not found

#1

I created a fresh Expo app, detach it, install react-native-vector-icons and link:
https://github.com/riwu/react-native-eject

When i try to build it in XCode, i got an error: ‘React/RCTDefines.h’ file not found

I searched around for this issue and the fix was adding React to Target, but it did not fix the problem in my case.

0 Likes

#2

did you find a solution to this?

0 Likes

#3

The general solution to this category of problems is detailed in the docs here, specifically the details about non-Cocoapods-compatible libraries.

1 Like