I am trying to run my React Native app in XCode and I keep getting this error. I cannot figure out how to resolve the issue. Any suggestions?
Screen Shot of Error in
you need to install react native, in terminal run
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
then
brew install node
brew install watchman
npm install -g react-native-cli
source:
https://facebook.github.io/react-native/docs/getting-started.html
I found that my fix to this issue after upgrading React was to change the declaration of #import "RCTBundleURLProvider.h"
to #import <React/RCTBundleURLProvider.h>