Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

expo error installing or running app

when I try to run my app on the iOS simulator I get the error :

Error running xcrun simctl openurl booted exp://localhost:19000: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60): The operation couldn’t be completed. Operation timed out Operation timed out

Error installing or running app. Error: Process exited with non-zero code: 60

any idea how to solve this error ?

like image 790
Mahgol Fa Avatar asked Jul 03 '18 06:07

Mahgol Fa


2 Answers

This usually is an error with the Simulator. If you remove expo (delete the app) from the simulator and run the command again, it should build fine.

However, if it still fails, Erasing all content and settings on the simulator does the trick too.

like image 108
Umair Ahmed Avatar answered Sep 23 '22 20:09

Umair Ahmed


FOUNT IT!

you must have a .watchmanconfig file (like below)

File example

When you initialize a project with expo init "projectname", there is no .watchmanconfig file.

So, create one and in this file, just initialize an empty object like this : {}

Then you can start with expo start or yarn/npm start

It solved all my problem.

Hope it does for you too.

like image 21
Arthur Gamby Avatar answered Sep 23 '22 20:09

Arthur Gamby