iOS app crashing every other launch, can't find error

后端 未结 3 2063
你的背包
你的背包 2020-12-07 14:32

First time I launch the app, everything seems to run fine. I\'ll hit the stop button, do some work and when I go to launch it again, it seems to crash before it can even loa

3条回答
  •  情书的邮戳
    2020-12-07 15:17

    Seems to be a combination of OS X 10.8.4 and LLDB. As kenster says, switching to GDB makes the problem go away.

    Edit:
    It's caused by a race condition in the debug server (I hear).

    Here's a fix if you want to keep using LLDB: Instead of clicking Run while the app is already running in the simulator, kill it in Xcode (⌘-.), say "I love Xcode" 5 times and Run it again (⌘-R). It won't crash, I tested it.


    Fixed in Xcode 4.6.3.

提交回复
热议问题