简体   繁体   中英

Xcode build but launch app with black screen

I have a problem with my xcode, all worked before but suddenly my app does not launch.

Xcode saying that it's launching but I just have black screen on simulator and nothing in the log...

I try on device but It's the same problem.

Screen of xcode : http://i.stack.imgur.com/bYh4y.png

Edit : I tried with an other project and the app it's running.

Edit 2 : The problem come from storyboard... I will post a new ask. Thanks

You probably don't need this anymore, but I'm going to try to provide my answer for others out there.

Sorry if I'm violating the rules, etc. I'm new here. :)

Overall list of possible fixes (you guys have gotten here way before me, but I'll include them anyway--with credit).

  • Sometimes, when it hasn't been used in a while (or if the project is new, etc.), the simulator takes a minute to load. This was mentioned by 68cherries.
  • Did you check your storyboard entry point? I can't see it in the picture, but recently I've had it disappear a couple times. Just check "Is Initial View Controller"... see this picture .

  • And finally... although this has been said by the great Jim ... did you try "cleaning" your app? This always helps me out.

Anyway, I hope I haven't bothered you and that this helps anyone who may need it!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM