I created a new project with expo and detached it.
When I try to run the iOS project in XCode, it gives an error
‘React/RCTRootView.h’ file not found
If I create a new project with react-native init
instead, I’m able to build with react-native-navigation successfully. Why does it fail with expo?
Steps to Reproduce / Code Snippets / Screenshots
https://github.com/James2516/expo-native-nav
Run npm install
and try building the iOS project in Xcode.
Or start a new project:
exp init
exp detach
yarn add react-native-navigation
react-native-link
cd ios && pod install
I have tried adding React to build target