Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ios 6 simulator stuck on splash screen

I am using Mac os 10.8.2, and Xcode 4.5.2, when i try to run my app in ios 5/5.1 simulator its working fine, but when i try to run the App in ios 6 simulator it get stuck with blank screen. can anybody let me know what the solution for my problem?

like image 804
sKhan Avatar asked Nov 19 '12 07:11

sKhan


2 Answers

I had this issue a while ago. Here's what helped me:

  1. In your iOS simulator, reset content and settings
  2. quit your iOS simulator
  3. Quit and reopen your Xcode project
  4. in Xcode, click Product > Edit Scheme. Change debugger from LLDB to GDB (or none)
  5. In Xcode, click Product > Hold down the option button on your keyboard and click 'Clean build folder'
  6. Run your project

This works for me... sometimes when I have this error. Here's a good link for some other options for what could be going wrong:

XCode 4 hangs at "Attaching to (app name)"

Good luck!

like image 90
ebandersen Avatar answered Oct 27 '22 00:10

ebandersen


I had the same issue: In my case, the cause apparently was:

  • two singletons,
  • each of whom had a pointer to the other,
  • in its designated initializer.

Like a figure eight, initializing #1 led to initializing the other (#2), which lead to an attempt to initialize #1 again -- but as a singleton, this (at least, I conjecture that this) meant blowing away the memory address that had the thread - like going back in time and causing your parents to never meet. So the thread was lost without even an error, just a hang.

iOS 8.x, Xcode 6.x, ObjC

like image 43
AmitaiB Avatar answered Oct 27 '22 01:10

AmitaiB