Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone simulator hangs immediately upon launch

Whenever I try and launch the iphone simulator (via Build & Run) in Xcode, the simulator shows up and immediately hangs with the beach ball.

I've tried Building and running a blank project, restarting Xcode and my machine, and so far nothing has helped. I am running Snow Leopard 10.6.5, Xcode 3.2.5, and Simulator 4.2.

The only errors showing up in my console are:

12/11/10 6:03:02 PM installd[1134] CFPreferences: user home directory at file://localhost/Users/Old%20Mac/Library/Application%20Support/iPhone%20Simulator/4.2/ is unavailable. User domains will be volatile.
12/11/10 6:03:42 PM com.apple.launchd.peruser.502[117] (com.apple.iPhoneSimulator:com.apple.mobile.installd[1155]) Exited with exit code: 255
12/11/10 6:03:42 PM com.apple.launchd.peruser.502[117] (com.apple.iPhoneSimulator:com.apple.mobile.installd) Throttling respawn: Will start in 10 seconds

The simulator stays frozen at the black screen:![frozen!.]

Any help would be much appreciated—thanks!

like image 749
Ryan Madsen Avatar asked Dec 12 '10 02:12

Ryan Madsen


1 Answers

Had the same problem, with a fresh install of the latest SDK (iOS Simulator loading forever with a black screen, also with the original Xcode templates).

Here's were you find the solution: https://discussions.apple.com/thread/2611612?threadID=2611612. Deleting /Library/Application Support/iPhone Simulator worked for me. IOS Simulator then re-creates the folder whilst quitting. In addition to "/user/..." it then contains a directory "/4.3/...".

like image 51
Larissa N. Avatar answered Oct 24 '22 18:10

Larissa N.