First off, I don\'t know react, but I figured deploying to an iOS device instead of the simulator wouldn\'t be too difficult to do with the docs. They were a bit sparse but
Usually, this Error nowadays has to do with the different versions of react-navigation being used.
If you are using react-navigation 4.0
"react-navigation": "^4.1.0",
you have to make sure you are importing the right elements from the right places
in your app.js
import { createAppContainer, createSwitchNavigator } from 'react-navigation'
import { createStackNavigator } from 'react-navigation-stack'
import { createBottomTabNavigator } from 'react-navigation-tabs'
This has helped me resolved the issue.