Build TARGET setting overriding PROJECT setting

  • In an OS X project "Build Setting" I had set some values for "Header Search Paths" and "Library Search Paths" under the *Target* column. I've moved those settings over the to the *Project* column because I added a new target and I wanted both targets to inherit the same value.

    For the new target, it now works fine.

    But for the old target, the *Resolved* column is wrong. The *Target* column has light green rectangles indicating that it has values set (even though it is empty), and I think that is canceling the values from the *Project* column.

    How do I completely clear that setting for the *Project* column so it doesn't override the values set in the *Project* column?

    Thanks,

    Todd
  • On May 2, 2013, at 2:53 PM, Todd Heberlein <todd_heberlein...> wrote:

    > How do I completely clear that setting for the *Project* column so it doesn't override the values set in the *Project* column?

    Got it!

    I had to click once in the *Target* column's cell (not double click which brings up the list) and click delete.

    Todd
  • On May 2, 2013, at 2:58 PM, Todd Heberlein <todd_heberlein...> wrote:

    >
    > On May 2, 2013, at 2:53 PM, Todd Heberlein <todd_heberlein...> wrote:
    >
    >> How do I completely clear that setting for the *Project* column so it doesn't override the values set in the *Project* column?
    >
    > Got it!
    >
    > I had to click once in the *Target* column's cell (not double click which brings up the list) and click delete.

    As you've seen, you need to delete the customization of the setting, not just the content of the setting. Like shell environment variables, Xcode build settings support both being set to the empty string and not being set at all; this is so it's possible to override a value set at a lower layer with no value.

      -- Chris
previous month may 2013 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Go to today