Xcode 中的每个构建的参数都无效? [英] Argument invalid with every build in Xcode?

查看:21
本文介绍了Xcode 中的每个构建的参数都无效?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论我尝试什么,当我尝试构建到我的 iPhone 时,我都会在 Xcode 中收到一个 Argument is Invalid 错误.它在模拟器中运行良好.该问题并非特定于某个项目,它会发生在任何项目中,即使我创建了一个新项目也是如此.当我运行控制台时,它会显示这个

No matter what I try, I get an Argument is Invalid error in Xcode when I try to build to my iPhone. It works fine in the simulator. The problem is not specific to one project, it happens with any project, even when I create a new one. When I run the console it displays this

我尝试删除并重新添加配置文件,并且我已经检查了所有设置以查找空格,因为我听说这些会导致此错误.任何人都可以帮忙吗?我不知道还能尝试什么.

I tried deleting and re-adding the provisioning profiles, and I've gone through every setting to look for spaces because I heard these can cause this error. Can anyone help? I don't know what else to try.

推荐答案

如果您的项目目录中有符号链接 (ln -s),它将在模拟器上运行,但会导致参数无效"错误如果目标是真正的 iOS 设备.(Xcode 4.5.2)

If you have a symbolic link (ln -s) in your project directory, it will work on the simulator, but cause a "The argument is invalid" error if the target is a real iOS device. (Xcode 4.5.2)

这篇关于Xcode 中的每个构建的参数都无效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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