• 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
auto InfoPlist.strings updating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

auto InfoPlist.strings updating


  • Subject: auto InfoPlist.strings updating
  • From: Craig Hunter <email@hidden>
  • Date: Wed, 10 Nov 2004 17:33:56 -0500

Does anyone have good tricks for automatically updating the info in the
InfoPlist.strings file in a project??  I am using a compiler define to set
the version number in my software (-DVERS=110904 for instance) and this gets
used to display the version number on the splash screen and status console
in my app.  I still have to manually edit the InfoPlist.strings file if I
want the version number displayed in the finder and get info panels.  As far
as I can tell, the InfoPlist.strings file does not get compiled or processed
in any way, it just gets placed in the app's localized resources.

By the way, this approach was inherited from a legacy program.  Perhaps it
would make more sense to rework the app to use the InfoPlist.strings
attributes directly?  If so, what's the procedure to pull out, say
"CFBundleShortVersionString" and use it in the app as a string?

Thanks,
Craig

--
Dr. Craig Hunter
NASA Langley Research Center
AAAC/Configuration Aerodynamics Branch
email@hidden  (new!!)
(757) 864-3020
(Dual G4 - OS X)


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: auto InfoPlist.strings updating
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Binding questions
  • Next by Date: Registration Code
  • Previous by thread: Re: Why "Add" button for Cocoa Bindings?
  • Next by thread: Re: auto InfoPlist.strings updating
  • Index(es):
    • Date
    • Thread