views:

426

answers:

3

I am attempting to launch the iPhone simulator from Xcode, but I keep getting the following error:

Error from Debugger: Failed to launch simulator: Operation failed with underlying error: 4294967253.

I've found a number of posts where Xcode failed to launch the simulator, but none of them match the specific error code I'm receiving.

A: 

Whenever I've had issues like this, Force Quitting the simulator from the dock (Alt-Right click), followed by Xcode seemed to do the trick. After doing that I could reload my project and it would run fine.

Failing that, I hear it might help to reboot your mac (though I've never needed to go that far).

davbryn
Thank you for the response. Unfortunately, it never launches, period, so I can't even force it to quit. I've also rebooted several times, without success. Not knowing Xcode very well, I'm not even sure where else to look.
senfo
Sorry that didn't help - Could it be a problem with the path to the simulator itself? Has the simulator ever successfully launched? You should be able to launch the simulator via spotlight (cmd-space, type 'spotlight'). If it isn't appearing here it sounds like you've got Xcode installed but not the iPhone SDK (or the simulator bundled with the SDK).
davbryn
No worries, I appreciate you replying. It did work, at one point. Somebody else borrowed the laptop. When I got it back, it no longer worked.
senfo
A: 

I'm not sure why I didn't try this earlier, but installing the latest version of Xcode fixed the problem.

senfo
+1  A: 

Glad you got things solved senfo. I've found that doing a full rebuild can work as well as checking your system console log for erroneous error message/warnings. Xcode unfortunately seems to be rather poor at conveying errors when deployments fail to the simulator.

Rob Segal