I have two versions of my application (appname 2008 & appname 2009). They both have the same identifier:

com.mycompany.appname

Is this ok so far?

So, if I reset the launch services database by doing:

lsregister -kill -r -domain local -domain system -domain user

and launch & quit appname 2008 and then launch appname 2009, I can dump the launch services database by doing:

lsregister -dump

When I look at the output, I see that appname 2008 is listed first and then appname 2009 comes later.

Since appname 2009 is still running, I can go to the Spaces preferences and add the application to the Application Assignments list. However, the name that shows up in the list is appname 2008 when it should be appname 2009

If I go through this process again, but launch appname 2009 first, the correct name will show up in the Application Assignments list.

Now, I believe I understand what is going on.

Since appname 2008 appears first in the Launch Services database and has the name identifier as appname 2009, Spaces finds appname 2008 first and uses the name from that application.


So, is it the "right thing" for two versions of the application to have the same identifier? Based on my understanding, this is what I want to do. I would not want to make the identifiers different by doing something like:

com.mycompany.appname.2008
com.mycompany.appname.2009

Or, do I?


Is there something else that I am missing that would make this work correctly?

Thank you.




_______________________________________________

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]

Reply via email to