XCode 4“添加构建设置条件”没有启用 [英] XCode 4 "add build setting condition" not enabled

查看:101
本文介绍了XCode 4“添加构建设置条件”没有启用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我正在XCode 4中开发的iPhone应用程序中包含Layar Player。1.3.1.2通用构建配置部分的其中一个步骤要求单击添加构建设置条件。但该选项未启用(以灰色显示)。仅启用添加用户定义的设置。如何启用此选项或出现什么问题?

I am trying to include Layar Player in the iPhone application I am developing in XCode 4. One of the steps of section "1.3.1.2 Universal build configuration" asks to click on "Add Build Setting Condition". But that option is not enabled (it is shown in grey). Only the "Add User-defined Setting" is enabled. How can I make this option to be enabled or what could be wrong?

非常感谢提前。

Cristina

推荐答案

启用添加构建设置条件菜单项在Xcode 4中,您必须为构建设置选择特定的构建配置。单击构建设置旁边的显示三角形以查看构建配置,该配置应为Debug和Release。将光标移到构建配置上或选择配置时,构建配置名称旁边应显示一个小+按钮。单击+按钮添加条件构建设置。

To enable the Add Build Setting Condition menu item in Xcode 4, you must select a specific build configuration for a build setting. Click the disclosure triangle next to the build setting to see the build configurations, which should be Debug and Release. When you move the cursor over a build configuration or select the configuration, a small + button should appear next the name of the build configuration. Click the + button to add a conditional build setting.

这篇关于XCode 4“添加构建设置条件”没有启用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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