Launch iOS simulator from Xcode and getting a black screen, followed by Xcode hanging and unable to stop tasks

后端 未结 26 2284
一整个雨季
一整个雨季 2020-11-29 05:16

I\'m having trouble running my basic iPhone application (while going through the Stanford iTunes CS193p lectures) in the iOS simulator.

I\'ve been searching for a wh

相关标签:
26条回答
  • 2020-11-29 05:38

    Before resetting the emulator first go to your projects "project navigator" screen and under the general -> depoyment info screen check that the main interface property is properly setup!

    enter image description here

    0 讨论(0)
  • 2020-11-29 05:38

    I was doing what doug suggests ("Reset Content and Settings") which works but takes a lot of time and it is really annoying... until I recently found completely accidental another solution that is much quicker and seems to also work so far! Just hit cmd+L on your simulator or go to the simulator menu "Hardware -> Lock", which locks the screen, when you unlock the screen the app works like nothing ever happened :)

    0 讨论(0)
  • 2020-11-29 05:39

    Please make sure you have done this,if you are getting black screen after copying the storyboard from another project

    0 讨论(0)
  • 2020-11-29 05:39

    This was my reason for having this issue.

    For some reason, the "Is Initial View Controller" (for my main View Controller) was unchecked which was causing the black screen on load up.

    Hope this helps someone out there!

    0 讨论(0)
  • 2020-11-29 05:42

    If you should loose your entry point in your Storyboard or simply wish to change the entry point you can specify this in Interface Builder. To set a new entry point you must first decide which ViewController will act as the new entry point and in the Attribute Inspector select the Initial Scene checkbox.

    You can try: http://www.scott-sherwood.com/ios-5-specifying-the-entry-point-of-your-storyboard/

    0 讨论(0)
  • 2020-11-29 05:42

    Just reset your simulator by clicking Simulator-> Reset Contents and Settings..

    0 讨论(0)
提交回复
热议问题