whoops, I meant the "CFBundleShortVersionString" key.
On Thu, Aug 20, 2009 at 12:52 AM, aaron smith<[email protected]> 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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
