0

I've scoured the questions asked here and thought I had found an answer earlier with deleting the data for the simulator, but my issue appears to be slightly different.

When I run the app, which was working on the last version of xcode and has been run on other systems in the simulator, in the simulator, it opens up the simulator and the simulator screen is black. Not the normal black issue that I've seen where it is black but you can see the iPhone or iPad frame around the edge still, the whole simulator window is black like it hasn't loaded.

When I look in the debug log it always says this and only this "error: failed to attach to process ID 0".

I've tried the steps located Xcode compiles my App, but can't run it in the simulator and I've uninstalled and re-installed xcode. The issue still persists.

If anyone has any ideas would be much appreciated.

Community
  • 1
  • 1
TheScando
  • 1
  • 1

2 Answers2

0

Ok, I had this issue for a couple of days recently. I changed the device in the "Hardware" menu and it automagically started working.

Ravi
  • 7,929
  • 6
  • 38
  • 48
  • We've tried it on a number of different device settings within the simulator and it is always a pure black screen. – TheScando Oct 08 '12 at 16:53
0

The issue turned out to be the root doesn't run the simulator so we gave various folders and files permissions, sorry, long list and I was half working on it another person did the rest of the work, but if you run into this issue, start working in the non-root account (system admin also didn't work).

TheScando
  • 1
  • 1