Skip navigation.
 
mlCFBundleIdentifier & Application Version
FROM : Eric Gorr
DATE : Fri Jul 11 18:40:48 2008

Reading things like,

http://developer.apple.com/qa/qa2004/qa1373.html

which discuss CFBundleIdentifier, the example always given for what it 
should look like is of the form:

  com.mycompany.MyApp


My question is, as different versions, of the same application, are 
released, it is a good idea or recommended that the CFBundleIdentifier 
reflect the version of the application as well. For example, one might 
have:

com.mycompany.MyApp2007
com.mycompany.MyApp2008
com.mycompany.MyApp2009

If it is not a good idea or not recommended, why?

The tech note above does say:

Note: Most Xcode templates give a generic default value for 
CFBundleIdentifier to try to avoid as many problems as possible. It is 
still important to set your own unique value, however, as applications 
with identical CFBundleIdentifier values will override each other.


While it is obviously important that two different applications (say a 
word processor and a game) have unique identifiers, it isn't clear to 
me that different versions of the same application should have a 
unique identifier as there are other items in a plist for declaring 
the version of the application.

Related mailsAuthorDate
mlCFBundleIdentifier & Application Version Eric Gorr Jul 11, 18:40
mlRE: CFBundleIdentifier & Application Version Gary L. Wade Jul 11, 18:58
mlRe: CFBundleIdentifier & Application Version Douglas Davidson Jul 11, 19:01
mlRe: CFBundleIdentifier & Application Version Clark Cox Jul 11, 19:29
mlRe: CFBundleIdentifier & Application Version Eric Gorr Jul 11, 20:54
mlRe: CFBundleIdentifier & Application Version Douglas Davidson Jul 11, 21:18
mlRe: CFBundleIdentifier & Application Version Eric Gorr Jul 11, 21:27