XCode 4 "add build setting condition" not enabled
Asked Answered
D

1

3

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?

Dehisce answered 22/9, 2011 at 15:47 Comment(1)
the only thing i could think of is either that core data needs to be enabled or that you created the wrong project typeHaydenhaydn
C
7

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.

enter image description here

Coolant answered 22/9, 2011 at 19:49 Comment(1)
When trying to do this i see this: i.imgur.com/nwp6t8D.png Where are the archs?Mead

© 2022 - 2024 — McMap. All rights reserved.