On Mar 2, 2006, at 2:42 PM, Rush Manbert wrote:
This explains a question I posed in a subsequent post. When you select the config file, the values in the inspector are supposed to change to reflect what is set by the config file.
The values of settings in the inspector will change only for settings that have not been customized. A setting that has been customized is bold, and overrides the setting in an xcconfig file that the configuration is based on.
To remove a customized setting from a configuration, highlight its row and delete it either using the "delete" key or the "-" button by the table. If the setting you highlighted was a customization of a setting that also has a value specified at a lower layer in the build settings stack, then the lower-layer value will be shown in a plain style. This is, of course, only the case if you have not chosen to show only customized settings in the build settings table.
I did not see anything about using the delete key to return to the config values. I tried it and it seems to work, even for Zero Link, which doesn't change when I select a config file.
This is because the full build settings stack is arranged like this, in order of what Xcode searches on a build:
per-file compiler flags (for compilation only)
xcodebuild command-line settings
target settings
customized settings in the selected configuration
the xcconfig file the selected configuration is based on
project settings
customized settings in the selected configuration
the xcconfig file the selected configuration is based on
application settings
default settings
environment variables