Xcode 4“等待进程”Appname“启动 [英] Xcode 4 "waiting for process 'Appname' to launch

查看:143
本文介绍了Xcode 4“等待进程”Appname“启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了Xcode 4,现在无法运行我的一个iPhone项目。

I installed Xcode 4 and now cannot run one of my iPhone projects.

 Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Waiting for process 'AppName' to launch.

在顶部状态栏中,我看到附加到AppName。
项目唯一的奇怪之处在于它与ZXingWidget有关于QR码扫描的依赖。

On the top status bar I see 'Attaching to AppName'. The only weird thing about the project is it has a dependency on ZXingWidget for QR code scans.

它可以在同事的计算机上运行,​​但是不是我的。

Weirder that it works on a co-workers computer, but not mine.

尝试删除我的构建目录,没有骰子。

Tried removing my build directory, no dice.

我可以从Xcode 4的源代码运行其他iPhone项目没有问题。

I can run other iPhone projects from source in Xcode 4 with no problem.

有没有人看到这个?

推荐答案

Apple开发人员论坛中找到的提示:


进入你的ProjectName.xcodeproj /
目录,并用你的userid删除任何名为
的东西。在xcode中重新打开
项目,所有这些都将重新创建
,它应该可以工作。至少
它为我做了。

Go into your ProjectName.xcodeproj/ directory and delete anything named with your userid. Re-open the project in xcode and all that will get recreated and it should work. At least it did for me.

另一个提示是手动删除 code>目录。

Another tip is to manually delete the build directory.

另一个提示是导航到管理器( Shift⇧ 命令⌘在xcode 4中的 2 ),选择项目,在左侧选择您的应用程序,然后将删除... - 按钮向右

Yet another tip is to navigate to the Organizer (Shift ⇧ Command ⌘ 2 in xcode 4), select Projects, select you application in the left hand side and then the Delete...-button to the right of Derived Data.

永远不要忘记普遍有用的提示:重新启动计算机,然后重试。

And never forget the universally useful tip: restart your computer and try again.

祝你好运!

这篇关于Xcode 4“等待进程”Appname“启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆