Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 5 IOS simulator black screen and app install fails

I just updated my xcode to work with ios7. Now whenever I make a new app, even if its set to build for ios7, I get an error in the simulator when running. It says that the install failed, even if I just made the project and haven't coded anything into it yet. The simulator also shows a black screen. I have tried the reset content, and it didn't work. I saw something somewhere saying to delete the Iphone Simulator folder in application support, but no such folder seems to exist. What can I try to do?

Update--

With some additional research, I found that Iphone Simultor is in the Xcode.app now, but I don't know what to delete. There are many files under the iPhone Simulator Folder. If I delete the actual app, it just doesnt open. Any ideas?? I dont even get an iphone on the screen, just a black window...

Update 2:

Even when I just go to open developer tools -> iphone simulator it still gives me just a black screen....enter image description here

enter image description here

Update 3

I just re-installed X-code, and all works now! Strange....I have no idea what happened...But I thought I would let y'all know for others who have similar issues.

like image 904
JosephG Avatar asked Sep 27 '13 02:09

JosephG


1 Answers

Deleting the iOS Simulator folder of the iOS version in question in

/Users/xxx/Library/Application Support/iPhone Simulator

helps, but then you always have to repeat all the settings you made in the simulator (language, for example). Try to press the home button and then delete your app like you do it on a real iOS device. You should then be able to install it again.

This seems to be a known issue.

like image 61
Dirk Avatar answered Sep 22 '22 20:09

Dirk