Xcode 4.2. gets stuck “Attaching to myapp” when running

后端 未结 12 1908
梦毁少年i
梦毁少年i 2021-01-31 19:40

In xcode 4.2, sometimes when you\'re going to run your ios proj on simulator, the status windows says \"Attaching to myapp\", and just gets stuck there... until you cancel. Now,

12条回答
  •  無奈伤痛
    2021-01-31 20:15

    New projects were failing to launch in the simulator, getting stuck on the attach step.

    This seems to be after Xcode 4.3 was installed, but I can't recall the last new project I created.

    This is what worked for me, the clue coming from this thread...

    Project->"Edit Schemes"->Run. Change the Debugger from LLDB to GDB

    Another computer with the same version of Xcode works fine. Maybe my LLDB is corrupt?

提交回复
热议问题