There are some downsides in the process to run IOS Simulator using Expo, here is a little guide to fix these issues:
Install X Code
Here a link to install
Xcode
Install Xcode Command Line Tools
This is a tricky section as at the first installation it looks like there is a Command Line Tools
already selected, but it is not, you can find it in Xcode > Preferences > Locations
so we need to click the option that appears to set the Command Line Tools
path
Install Watchman
brew update
brew install watchman
Run Expo
npx expo start
and press i
to select ios simulator
Fixes
- The easiest solution is to restart the computer.
- The second solution is to delete
node_modules
folder andpackage-lock.json
, then run npm install, then runnpx expo start
.
In Summary
The sections where most issues to run iOS Simulator are:
- User has not select
Command Line Tools
- Sometimes previous attempts to make it run can produce issues, to avoid this just delete
node_modules
and re-runnpm install
.
Top comments (0)