CFBundleVersion and CFBundleVersionShortString question
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