my expo version: "^35.0.0" react version: "16.8.3" expo cli version: "3.1.0" xcode version: "11.0" This is the error that I ran into when I try to run ios simulator: "There was a problem booting a device in iOS Simulator. Quit Simulator, and try again. Error installing or running app. Error: No iPhone devices available in Simulator."
1 Answers
I first try creating a normal non-Expo app via XCode (i.e. got through the "new app" flow there - any kind of app, doesn't matter, you don't need to write any code). Then try launching this newly created, pure-XCode app. And that works for me meaning xcode works fine.
I decided to remove and reinstall Expo. While re-installing I noticed that some of the folders used for installation are owned by root and I have some errors while installing. I change the ownership of those folders to my username on my mac. i.e. "sudo chown -R ownerName: /usr/local/lib/node_modules"
I tried to run a new expo project again and got write access issues to a facebook watchman directory, i did the same thing i did above by granting write control of this directory to my logged on account instead of the default root which is the owner of the folder at the time of error.
I tried to run my app using IOS simulator again and everything now work fine