XCode 4说,“参数无效”试图运行项目 [英] XCode 4 says, "Argument Invalid" on attempt to run project

查看:103
本文介绍了XCode 4说,“参数无效”试图运行项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最初在XCode 3中创建了一个项目,并在XCode 4 Developer Preview版本中成功使用它。

I had a project initially created in XCode 3 and used it successfully in XCode 4 Developer Preview version.

升级到XCode 4版本后,无论何时我尝试在设备上运行项目,我得到一个Argument Invalid对话框。除了它没有告诉我什么参数。

After upgrading to XCode 4 release, any time I try to run the project on the device, I get a "Argument Invalid" dialog. Except it doesn't tell me what argument.

如何找出错误以及为什么我不能在我的设备上运行应用程序?

How does one figure out what is wrong and why I can't run the app on my device any more?

Base SDK设置为4.3
部署目标设置为:iOS 4.2

Base SDK is set to 4.3 Deployment target set to: iOS 4.2

推荐答案

好的,我刚刚设法解决这个问题,因为我遇到了同样的问题。这可能对你没有帮助,但对我而言,这是因为我在项目中包含的文件夹中有一个符号链接。我删除了这个,现在一切正常。有趣的是,在这种情况下,它在模拟器上工作正常。

Ok, I have just managed to sort this out as I was having the same issue. This may not help you, but for me it was because I had a symlink inside a folder included in the project. I've removed this, and now it all works fine. Interestingly it works fine on the simulator in this case.

我在这个问题上向Apple提交了一个错误(#9168893)。

I've filed a bug with Apple on the issue (#9168893).

这篇关于XCode 4说,“参数无效”试图运行项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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