Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Launch Services and CFBundleVersion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launch Services and CFBundleVersion



On Jun 7, 2006, at 5:17 PM, Christopher Linn wrote:
I can tell you that when comparing version numbers for document binding purposes, Launch Services respects the first three version components, but IGNORES the development stage code (a, b, d, etc.) and anything following it.

Wow... I did not expect it to ignore the development stage. Glad I asked. :)


Effectively, LS expects the following format: nnnnn[.nn[.nn]][X] where n is a digit 0-9, square brackets indicate optional components, and X is any string not starting with a digit. X is ignored when present.

Okay, so it sounds as if using an increasing floating point number (like Mail.app) is best if you want to publicly release beta versions. If you don't care about non-final versions, then standard major.minor.release works fine, too.


Thanks for the clarification!

-Dave

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


References: 
 >Launch Services and CFBundleVersion (From: Dave Dribin <email@hidden>)
 >Re: Launch Services and CFBundleVersion (From: Christopher Linn <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.