I have create sample React Native project and following the tutorial as per react native website.
I have try to run the application IOS simulator, its throwing error
Usually, this error comes up due to inconsistent versions (either of react-native, OS or XCode). I had the same issue with react-native v0.57.0
on MacOS Sierra and XCode v9.x
.
All I had to do was to upgrade to High Sierra and then XCode to v10.0
.
Otherwise, you'd have to use an older version of react-native either by downgrading it or by initialising a project with an older version
react-native init test --version react-native@0.x.x