Xcode 10.2 unable to launch simulator
Asked Answered
M

3

12

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 ?

Maulstick answered 10/4, 2019 at 1:30 Comment(0)
M
58

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.

Maulstick answered 16/4, 2019 at 5:47 Comment(3)
worked, thanks! no need to delete all of the simulators as in the accepted answer.Abran
A bottle of wine for you;) Worked perfectly;)Metaxylem
@Rahul great...bravo!Robbirobbia
H
6

I faced the issue in XCode 10.1 versions. So I did sudo xcrun simctl erase all everytime, worked fine.

However, I updated to XCode 10.2, got the same error. I did the same thing, but didn't worked.

It replied me xcrun: error: active developer path ("~/Xcode.app/Contents/Developer") does not exist, didn't find that trouble in earlier versions of XCode.

I had to reset by sudo xcode-select --reset and restarted my mac.

Worked fine for me now.

Haff answered 27/4, 2019 at 14:9 Comment(0)
C
3

Try this:

  1. Go to Window > Devices and Simulators, delete all the simulators, all of them.
  2. Clear /Library/Developer/CoreSimulator/ folder.
  3. Return to Xcode and install the required simulators.
Christa answered 12/4, 2019 at 17:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.