Quantcast
Channel: Happy Coding Journal » how to fix the error…
Viewing all articles
Browse latest Browse all 11

Can’t re-install app from Apples App Store

$
0
0

Problem: I developed an application via Xcode and published it in the App Store. I then continued developing it and removed the application I had installed from the AppStore.

When I try to re-install it from the AppStore I got the following message:

“If you want to replace it with this version, move the existing app to the trash”

I deleted all the data for this application from

  • ~/Library/Containers
  • ~/Library/Application Support
  • ~/Library/Preferences
  • the application itself of course

But still. It was not possible to re-install it. Finally I stumbled across lsregister – a tool for the Launch Service Database and this command helped me:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain user

After that, the install worked.

Image Credit: dirty rotten apple 2 by Lara604 (CC BY 2.0)

The post Can’t re-install app from Apples App Store appeared first on Happy Coding Journal.


Viewing all articles
Browse latest Browse all 11

Trending Articles