Expanding build settings in a secondary .plist
Expanding build settings in a secondary .plist
- Subject: Expanding build settings in a secondary .plist
- From: Rainer Brockerhoff <email@hidden>
- Date: Fri, 22 Feb 2008 18:42:04 -0300
Howdy all.
I have a somewhat complex project where I include a secondary .plist file (meaning, it's not any target's primary info.plist. Currently I copy this into its proper place in a custom build script phase.
It's becoming a hassle to keep this file synchronized with settings and I'd like to expand these settings automagically like happens for the main info.plist when INFOPLIST_EXPAND_BUILD_SETTINGS is on.
Now, this seems to happen by calling an internal pseudo-tool which appears in the build log as <com.apple.tools.info-plist-utility>. This appears to be implemented inside the private DevToolsCore framework and I couldn't find out how to call it from my build script.
I had hopes of just being able to put an extra line into my script, like:
/path/to/info-plist-utility "$SOURCE_ROOT/Special.plist" -expandbuildsettings -o "$UNLOCALIZED_RESOURCES_FOLDER_PATH/Special.plist"
but since there's no real tool, I don't know what to do.
Is this possible with the current Xcode 3.0 or should I file an enhancement request? Any workaround?
TIA,
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
Weblog: http://www.brockerhoff.net/bb/viewtopic.php
_______________________________________________
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