Xcode 4 hangs at “Attaching to (app name)”

后端 未结 30 3223
执笔经年
执笔经年 2020-11-28 18:20

I just upgraded to Xcode 4 and for some reason my app won\'t run in the simulator or iOS device. It was working perfectly in Xcode 3, but all of a sudden now when I press ru

相关标签:
30条回答
  • 2020-11-28 18:30

    I noticed it happened to me when I edited the scheme from Build Release to Build Debug. I changed back, and it worked :)

    0 讨论(0)
  • 2020-11-28 18:30

    What worked for me:

    • Launch "Monitor" and kill gdb-i386-apple-darwin which was supposedly hung
    • Restart iOS simulator

    enter image description here

    0 讨论(0)
  • 2020-11-28 18:32

    Also: make sure that you haven't included the Info.plst file in your Building Phases -> Copy Bundle Resources. If so, remove it from that list! I small mistake which could happen, but something that messes things up quite nasty :S

    0 讨论(0)
  • 2020-11-28 18:32

    For me, none of these has worked. I realized that my project had 2 info.plist files (with two different names, like info.plist and Project-info.plist), so XCode got confused. I just removed the incorrect plist file, and it worked!

    0 讨论(0)
  • 2020-11-28 18:33

    I really find the answer for me :)

    for me,

    project setting -> your target -> build phases -> validate setting -> perform

    and now the problem is gone.

    :)

    I hope someone it help

    0 讨论(0)
  • 2020-11-28 18:33

    I encountered this error after incorporating another project inside my new one. Make sure you delete the project that you have added's info.plist and .app

    0 讨论(0)
提交回复
热议问题