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

Re: CFBundleVersion and CFBundleVersionShortString question


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

whoops, I meant the "CFBundleShortVersionString" key.



On Thu, Aug 20, 2009 at 12:52 AM, aaron
smith<email@hidden> wrote:
> 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

References: 
 >CFBundleVersion and CFBundleVersionShortString question (From: aaron smith <email@hidden>)

  • Prev by Date: CFBundleVersion and CFBundleVersionShortString question
  • Next by Date: Re: Core Data dog-slow when using first time after boot
  • Previous by thread: CFBundleVersion and CFBundleVersionShortString question
  • Next by thread: How to reference to objects laid in external xibs in Interface Builder?
  • Index(es):
    • Date
    • Thread