• 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: Can Xcode preprocess InfoPlist.strings files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Can Xcode preprocess InfoPlist.strings files? (From: "Isaac Wankerl" <email@hidden>)
 >Re: Can Xcode preprocess InfoPlist.strings files? (From: Scott Tooker <email@hidden>)

  • Prev by Date: Re: Link errors
  • Next by Date: Re: Can Xcode preprocess InfoPlist.strings files?
  • Previous by thread: Re: Can Xcode preprocess InfoPlist.strings files?
  • Next by thread: Re: Can Xcode preprocess InfoPlist.strings files?
  • Index(es):
    • Date
    • Thread