• 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: Plist not being updated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plist not being updated


  • Subject: Re: Plist not being updated
  • From: David Dunham <email@hidden>
  • Date: Tue, 4 Dec 2007 19:35:14 -0800

On 4 Dec 2007, at 18:42, Chris Hanson wrote:

You don't need to turn on Info.plist preprocessing just to have build settings expanded in your Info.plist file - build settings enclosed in ${} are always expanded in Info.plist files. Info.plist *also* runs the C preprocessor on your Info.plist file, which isn't something you necessarily want in most cases.

We want the same version number available to both Mac and Windows builds. I think preprocessor is the only way here.


In general, I strongly recommend people *not* use Info.plist preprocessing unless it is *absolutely required* for how their project is structured. Applying a text-substitution preprocessor into your Info.plist means that it no longer valid XML or a valid plist, which means that you can't use any tools that know how to work with property lists or XML to manipulate it in ways that are guaranteed to be valid.

I think we're good -- <string>MAC_SHORT_VERSION_STRING</string> is valid (if incorrect) even if not preprocessed.

David Dunham   Macintosh Game Developer
GameHouse Studios     +1 206 926 5722     www.gamehouse.com
    "They said it couldn't be done but sometimes it doesn't
     work out that way." -- Casey Stengel

_______________________________________________
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: 
 >Re: Plist not being updated (From: Alexander von Below <email@hidden>)
 >Re: Plist not being updated (From: Jerry Krinock <email@hidden>)
 >Re: Plist not being updated (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Plist not being updated
  • Next by Date: QuickLook generator build on 10.4.10 failure.
  • Previous by thread: Re: Plist not being updated
  • Next by thread: Re: Plist not being updated
  • Index(es):
    • Date
    • Thread