Re: How to exclude existing resource languages from a target
Re: How to exclude existing resource languages from a target
- Subject: Re: How to exclude existing resource languages from a target
- From: Andreas Mayer <email@hidden>
- Date: Mon, 17 Dec 2007 17:37:39 +0100
Am 10.12.2007 um 16:44 Uhr schrieb Ulf Dunkel:
How can I define that target A copies all available localized files
of the project while target B should only copy the localized files
for en, de and fr?
What I ended up with, is a script build phase, that explicitly deletes
the unwanted resources:
rm -r $CONFIGURATION_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/
ca.lproj
rm -r $CONFIGURATION_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/
cs.lproj
...
Add the 'Run Script' phase below the 'Copy Bundle Resources' phase and
you should get rid of the unwanted localizations.
I'm all ears for better solutions.
Andreas
_______________________________________________
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