• 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
CFBundleVersion and CFBundleVersionShortString question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFBundleVersion and CFBundleVersionShortString question


  • Subject: CFBundleVersion and CFBundleVersionShortString question
  • From: aaron smith <email@hidden>
  • Date: Thu, 20 Aug 2009 00:52:22 -0700

hey all,

I'm reading through some debugging stuff, and looking at this page
(http://developer.apple.com/technotes/tn2004/tn2123.html) about crash
reports.

This paragraph mentions them:

"CrashReporter gets the "Version" field from the process's executable.
If the process is a packaged application, the version is composed of
the CFBundleShortVersionString and CFBundleVersion properties from its
Info.plist file. If the process is single file application, the
version is derived from its 'vers' ID=1 resource."

In that example crash report, the version is "1.5 (244)". My question
is which one is which?

is CFBundleVersion = 1.5 or 244?
or is CFBundleVersionShortString = 1.5 or 244?

I would assume that 1.5 is CFBundleVersion. But I just would like to
double check.

My other question is, do they support anything other than numbers and
periods. For example, if the short string key is just some string
relating to version control, i'd like to be able to set it to a git
commit hash (the first ten chars).

Thanks much.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: CFBundleVersion and CFBundleVersionShortString question
      • From: aaron smith <email@hidden>
  • Prev by Date: Re: devil of a time with an NSImageView
  • Next by Date: Re: CFBundleVersion and CFBundleVersionShortString question
  • Previous by thread: Re: A simple DO situation - point me in the right direction!
  • Next by thread: Re: CFBundleVersion and CFBundleVersionShortString question
  • Index(es):
    • Date
    • Thread