Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 10.2 unable to launch simulator

I have recently upgraded to xcode 10.2 and I am having a strange error. Whenever I try to launch my app I'm getting following error - Timed out trying to boot simulator after waiting 60.00s.

enter image description here

I have even tried do a fresh install but no luck I am always getting the same error.

Does anyone knows how can I fix this ?

like image 433
Rahul Vyas Avatar asked Apr 10 '19 01:04

Rahul Vyas


People also ask

How do I launch Xcode simulator?

Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download. When a simulator is opened from AppStudio, AppStudio Player automatically installs (if necessary) and opens in it.

How do I run Xcode simulator on Mac?

To run your app in Simulator, choose an iOS simulator—for example, iPhone 6 Plus, iPad Air, or iPhone 6 + Apple Watch - 38mm—from the Xcode scheme pop-up menu and click Run. Xcode builds your project and then launches the most recent version of your app running in Simulator on your Mac screen, as shown in Figure 1-1.

Can you run iOS simulator without Xcode?

Now with new Xcode if the icon of the Xcode is on dock you can just right click it and form the menu you can select Open Developer Tool and in the sub menu you can select the iOS Simulator to open the simulator without opening the Xcode.!


Video Answer


1 Answers

I'm not sure why it's fixed this way. What I did is I ran this command in terminal $ xcrun simctl erase all. After this I run my project again from xcode without even downloading anything and it worked.

like image 181
Rahul Vyas Avatar answered Sep 22 '22 19:09

Rahul Vyas