react-nativesimulatorexpo

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 ?


Solution

  • 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.