Re: Can Xcode preprocess InfoPlist.strings files?
Re: Can Xcode preprocess InfoPlist.strings files?
- Subject: Re: Can Xcode preprocess InfoPlist.strings files?
- From: Steve Christensen <email@hidden>
- Date: Thu, 13 Apr 2006 13:17:00 -0700
There is actually a nice implementation of a property list compiler
that I've been using with CodeWarrior .plc files. You can find it at:
<http://sourceforge.net/projects/plistcompiler>
You just add its invocation to a target's Run Script build phase and
out pops the Info.plist and InfoPlist.strings files (as well as any
other .plist files you might want to create). I don't work with
any .plist files directly; I use this exclusively to build the
various ones I need.
steve
On Apr 13, 2006, at 12:52 PM, Scott Tooker wrote:
Currently Xcode doesn't preprocess InfoPlist.strings file (a known
issue).
On Apr 13, 2006, at 12:09 PM, Isaac Wankerl wrote:
Can Xcode preprocess InfoPlist.strings files? I see that there are
build settings such as INFOPLIST_FILE,
INFOPLIST_OTHER_PREPROCESSOR_FLAGS, INFOPLIST_PREPROCESS,
INFOPLIST_PREFIX_HEADER, and INFOPLIST_PREPROCESSOR_DEFINITIONS, but
does this also work with the localized InfoPlist.strings files in a
project? With CodeWarrior I could just use the property list
compiler
and use macros to keep each generated file in sync with each other.
Specifically, I would like to have something like
#define APP_VERSION 1.2
// Info.plist
<key>CFBundleGetInfoString</key>
<value>$(APP_VERSION) (c) Acme. All rights reserved.</string>
// InfoPlist.strings (German)
CFBundleGetInfoString = "$(APP_VERSION) (c) Acme. Alle Rechte
vorbehaltenés.";
_______________________________________________
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