• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Implications of changing an app's bundle identifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implications of changing an app's bundle identifier


  • Subject: Re: Implications of changing an app's bundle identifier
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 25 Feb 2007 21:44:59 +0100

Am 24.02.2007 um 22:00 schrieb Ricky Sharp:
I just ran an experiment (I became curious as well) as to what happens with signature changes. In my example, I created an app with some signature and had it create a document with an extension unique to the app.

I then removed the app, and rebuilt it with a different signature. Double-clicking on the document launched the new instance just fine. I then did a third change to the signature and also renamed the app (bundle name change). Bringing up the documents inspector, the 'Open with' popup correctly listed the app with the new name (it also didn't have an entry for the old app). Thus, there appears to be quite a bit going on to attempt to preserve document bindings to the proper app.

Ricky, did you also check what happens if the old version isn't deleted? What happens when you have two apps claiming the same type with different bundle identifiers? Which one will Launch Services pick? The one with the higher version number? The one last copied to the hard drive?


Might be a bit annoying if the user tries the new app, likes it, and every time they double-click a document they get the old one they kept around to be able to go back... Usually LS picks the highest version if there's several with the same bundle ID, I think (at least if they're on the same drive -- wouldn't do to launch Tiger's Xcode every time you boot into the Panther partition...), but with a new ID, it would be as if someone downloaded another JPEG viewer app ... would that take precedence over the already-installed Photoshop?

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: Implications of changing an app's bundle identifier
      • From: Ricky Sharp <email@hidden>
    • Re: Implications of changing an app's bundle identifier
      • From: Bill Cheeseman <email@hidden>
References: 
 >Implications of changing an app's bundle identifier (From: Bill Cheeseman <email@hidden>)
 >Re: Implications of changing an app's bundle identifier (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: Implications of changing an app's bundle identifier
  • Next by Date: Re: NSColor opacity
  • Previous by thread: Re: Implications of changing an app's bundle identifier
  • Next by thread: Re: Implications of changing an app's bundle identifier
  • Index(es):
    • Date
    • Thread