0

I renamed my cocoa app name (CFBundleDisplayName) kept the bundle identifier the same, but there are previous versions of the old app that have been already released to the users. I wanted to know how to delete/replace previous old app with same bundleidetifier on installing this new app. Also is there a way to replace all previously created shortcuts of the old app.

Hamish
  • 78,605
  • 19
  • 187
  • 280
Satyam Raikar
  • 465
  • 6
  • 20

1 Answers1

0

IF the app was distributed via App Store:

if the bundle identifier stays the same, the new app will replace the old.

shortcuts won't update their name though but there is nothing you can do about it

if not, AND you are not sandboxed

in this case you can do all you like: in applicationDidFinishLaunching use the Spotlight API to find the old app and delete it AND find the short cuts and change them

this is A LOT of effort and not worth it IMO

if not, AND you are sandboxed

no way!

Community
  • 1
  • 1
Daij-Djan
  • 49,552
  • 17
  • 113
  • 135