XCode 4挂起“附加到(应用程序名称)” [英] XCode 4 hangs at "Attaching to (app name)"
本文介绍了XCode 4挂起“附加到(应用程序名称)”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这让我抓狂!我刚升级到XCode 4,由于某种原因,我的应用程序将无法在模拟器或iOS设备中运行。它在XCode 3中完美运行,但是当我按下运行程序时,突然停止在附加到......。似乎没有任何其他信息可以帮助解决这个问题。有什么想法?
This is driving me crazy! 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 run the program stops at "Attaching to...". There doesn't seem to be any other info to help with this problem either. Any ideas?
总结一下,你可以尝试以下方法来解决这个问题:
- 重新启动模拟器。
- 确保未在建筑阶段 - >复制捆绑资源中包含Info.plist文件。
- 将资源文件夹添加到项目中作为文件夹引用(蓝色文件夹图标)。这引起了麻烦,在将文件夹作为一个组添加后,问题就消失了。
谢谢。
推荐答案
以下是我们的修复:
在项目>编辑方案>运行。
In Project > Edit Schemes > Run.
将调试器从 GDB
更改为无
(在绿色圆圈的正上方)上面的图片。)
Change the Debugger from GDB
to None
(directly above the green circle in the image above).
这篇关于XCode 4挂起“附加到(应用程序名称)”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文