Imran
Imran

Reputation: 1498

Xcode 4.3.3 IPhone 5.1 Simulator hanging every so often

I've been looking around to see if anyone has similar issues recently but can't find much info.

Most of the time launching apps in simulator works fine. But once or twice a day the simulator hangs and I have to force quit it. XCode says 'Running xyz on simulator'. When you try and 'Stop' in XCode nothing happens. I then have to force quit XCode.

The annoying thing is the simulator wont work again unless I restart the machine!

This never happens when I run apps directly on iPhone. It has happened on several occasions for me both with sample apps and my own.

Upvotes: 3

Views: 1042

Answers (5)

This has frustrated me for -years- now but stumbled across what appears to get things going again for me:

Hide the simulator (iOS Simulator -> Hide iOS Simulator) or Cmd-H, then reopen the simulator.

The problem seems to happen when something CPU intensive is happening in the background (like a Time Machine backup) on my old 2 core MacBook.

Upvotes: 2

David Hoerl
David Hoerl

Reputation: 41622

This has happened to me but not recently (I stayed on 4.3.2). That said, Xcode 4.4 will be released today (almost for sure, as Mt Lion is coming out today). Get it and see if problem goes away!

EDIT: I did upgrade to 4.4, then 4.5, then 4.6. I have not had a single hang, using several machines, and neither has my coworkers, since leaving 4.3. YMMV of course.

Upvotes: 2

lppier
lppier

Reputation: 1987

Go to Edit Scheme -> Use GDB Debugger instead of LLDB - this worked for me.

Upvotes: 2

itinance
itinance

Reputation: 12378

the issue was reported to apple support communities today.

Upvotes: 1

Rahul Patel
Rahul Patel

Reputation: 5886

you can do reset contents and settings of iphone simulator than check it.. sometimes if we run so much application in simulator and not reset it than this kind of problem is occurs.

Upvotes: 0

Related Questions