• 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: Info.plist preprocessor macro expansion, space between tokens
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Info.plist preprocessor macro expansion, space between tokens


  • Subject: RE: Info.plist preprocessor macro expansion, space between tokens
  • From: "Alex Sheh" <email@hidden>
  • Date: Mon, 1 May 2006 10:12:03 -0700
  • Thread-topic: Info.plist preprocessor macro expansion, space between tokens

Thanks, Chris.  Unfortunately, when I add -CC to "Info.plist Other Preprocessor flags", then versioning doesn't show up at all.  I'm running OSX 10.4.3.
 
- Alex


From: Chris Espinosa [mailto:email@hidden]
Sent: Friday, April 28, 2006 8:37 PM
To: Alex Sheh
Cc: email@hidden
Subject: Re: Info.plist preprocessor macro expansion, space between tokens


On Apr 28, 2006, at 4:49 PM, Alex Sheh wrote:

Is there anyway to get the Info.plist preprocessor NOT to add whitespace between tokens during macro expansion?
 
Info.plist prefix header
#define MAJOR 1
#define MINOR 2
#define MICRO 3
 
Info.plist contents
<key> CFBundleShortVersionString <\key>
<string> MAJOR.MINOR.MICRO <\string>
 
With these values I get 1 . 2 . 3 in the application’s Preview Pane.  What I’d like to see is 1.2.3 without spaces separating the version numbers and dots.  Is this possible?


Some have reported success setting the "Info.plist Other Preprocessor Flags" to "-CC".  Give it a try.

Chris
 _______________________________________________
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

  • Prev by Date: Re: ranlib ranlib
  • Next by Date: Re: ranlib ranlib
  • Previous by thread: Re: ranlib ranlib
  • Next by thread: RE: Info.plist preprocessor macro expansion, space between tokens
  • Index(es):
    • Date
    • Thread