Re: [Config Files] What can I really modify in a config file?
Re: [Config Files] What can I really modify in a config file?
- Subject: Re: [Config Files] What can I really modify in a config file?
- From: Rush Manbert <email@hidden>
- Date: Thu, 02 Mar 2006 14:42:29 -0800
Greg Hurrell wrote:
El 02/03/2006, a las 20:32, Rush Manbert escribió:
The behavior I observe in my test project does not agree with your
statement. I have no config file specified at the project level, only
the target. Zero Link is not checked at the project level. No matter
what I put into my config file at the target level, Zero Link on/off
is controlled by the state of the checkbox in the target build
settings dialog.
That's correct. The build settings you see in the target build settings
dialog are only *based on* the config file that you specify. If you
change the state of the checkbox then you're overriding the config
file. To go back to the value set by the config file select the setting
and hit the delete key.
See the docs. Of interest to you will be the section, "Build Setting
Evaluation and Configuration Files":
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
XcodeUserGuide/Contents/Resources/en.lproj/05_05_build_configs/
chapter_32_section_6.html
Thanks Greg. I had read the section that you referenced. What I had
missed was in the section before that one, called "Build Settings":
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
XcodeUserGuide/Contents/Resources/en.lproj/05_04_bs_build_settings/chapter_31_section_5.html
In particular, the sentence:
"When you base a build configuration on a configuration file, Xcode sets
the default specifications of the build settings in the build
configuration to the corresponding specifications in the configuration
file."
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.
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. I also tried selecting
all of the build settings in the inspector and hitting the delete key.
That caused a whole flurry of error dialogs to pop up that complained
about strings being empty when they shouldn't be. I know that
PRODUCT_NAME was not defined, so I defined it, but it still complains
about something. The stranger thing is that now it pays attention when I
change my config file, which it wasn't doing before I used the delete
key. This is going to require more study and experimentation...
- Rush
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden