Ios 6 simulator stuck on splash screen

前端 未结 3 1570
渐次进展
渐次进展 2021-02-08 06:06

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 b

3条回答
  •  心在旅途
    2021-02-08 06:16

    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

提交回复
热议问题