• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to exclude existing resource languages from a target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >How to exclude existing resource languages from a target (From: Ulf Dunkel <email@hidden>)

  • Prev by Date: Re: inlining
  • Next by Date: Re: gen_bridge_metadata
  • Previous by thread: Re: How to exclude existing resource languages from a target
  • Next by thread: subversion reference
  • Index(es):
    • Date
    • Thread