在Xcode 4中设置活动构建配置的位置 [英] Where is set the active build configuration in Xcode 4

查看:99
本文介绍了在Xcode 4中设置活动构建配置的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目中有3个配置(Debug,Distribution_AdHoc和Distribution_AppStore)。在Xcode 3中,我们有一个列表,可以在构建和运行之前选择设备,版本,配置和目标。现在使用Xcode 4,我们在此列表中只有设备类型和版本。这带来了我的两个问题:

I have 3 configurations in my project (Debug, Distribution_AdHoc and Distribution_AppStore). In Xcode 3 we had a list to choose device, version, configuration and target before build and run. Now with Xcode 4 we only have the device kind and version in this list. This bring my two questions:


  1. 那么在哪里定义使用的配置?是Project> Info>命令行构建使用:Debug中定义的配置吗?

  1. So where is defined the configuration used ? Is that the configuration defined in "Project > Info > Command-line builds use: Debug" ?

现在Project菜单被Product替换那么我们在哪里可以创建(或复制和编辑)配置?

And now the "Project" menu is replaced by "Product" So where can we create (or duplicate and edit) a Configuration ?

谢谢。

推荐答案

以防万一你还想制作一个发布配置(或其他配置 - 我仍觉得它们很有用),经过很长的时间(阅读:在重复的帮助中搜索,我发现:

Just in case you still want to make a Distribution config (or other config--I still find them useful), after great length (read: searched in the help for 'duplicate'), I found this:

起初,它们全都变灰了;这是因为我在编辑器中突出显示了其中一个目标(MFE,MFETests等)。如果您突出显示您的项目(如屏幕截图所示),它们将变为启用状态。

At first, they were all grayed out; this was because I had one of the targets highlighted in the editor (MFE, MFETests, etc.). If you highlight your project (as in the screenshot), they become enabled.

这篇关于在Xcode 4中设置活动构建配置的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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