Application not open on IOS simulator #422
sudo yarn run ios
open the RN application
What actually happened when you performed the above actions?
If there's an error message, please paste the full terminal output and error message in this code block:
Please run these commands in the project folder and fill in their results:
Please provide a minimized reproducible demonstration of the problem you're reporting.
Issues that come with minimal repro's are resolved much more quickly than issues where a maintainer has to reproduce themselves.
Did you find a solution to this?
I have the same error here, it just hangs at
The simulator opens but the application is not in it.
I have tried all the steps specified on the post and it still doesn't work.
@dikaiosune simulator opens fine as iPhone X. When I run
I suspect it could be some kind of permission issue? Even though the project folder is on my desktop I have to run
Complete output from logs when running without sudo:
I had the same issue, it looked like it was hanging, but it must have been a slow internet connection, because I left it and about 5 minutes later Expo suddenly started installing and opening the app. I did not have to apply any of the above workarounds, just had to wait.
For me, this helped me start the iOS from
After running these commands (
I ended up having to go to the root directory of my project (not ios/android roots but the root with node_modules and package.json) and use
Worked right away after doing this. Just not sure how safe that actually is.. but it's a temporary fix that works.
For me, I have to download Exponent for iOS from ~/.expo/cache/versions.json with iosUrl, then extract it into ~/.expo/ios-simulator-app-cache. Next, rename the extracted folder with a '.app' suffix
Just leaving a comment in case anyone else finds this thread through a Google search like I did. I was running yarn run ios and everything was running fine. Then this morning, Xcode updated the simulator with the new iPhone XS Max and iOS 12.0 (as opposed to the iPhone 7 running iOS 11.4, which is what I was simulating my app on before). What happened for me was that the simulator eventually did start, albeit a lot more slowly than usual, and Expo didn't open automatically like it did before. I was able to open Expo manually and run my app like usual, though.
If anyone discovers this thread more recently and has a solution to making the whole process work automatically like it used to, that would be great. Again, this may be a one time fluke, but I wanted to throw it out there in case this is not an isolated issue.