Question

I'm the developer of an application that is currently on the Mac App Store. I'm trying to download my own application so that I can test out the binary that is on the store. (As opposed to running it in Xcode.)

I have purchased my own app in the app store previously, but then deleted it. (So that I could install a different version for testing.) Now, the App Store thinks that the application is still installed, even though it is not. (I deleted the development version when I was finished using it.)

I have removed all instances of the application from:

  • /Applications
  • ~/Downloads

But the app is marked as "Installed" in the App Store, and it doesn't show up in my purchases. Is there a trick to get my binary re-installed?

Was it helpful?

Solution

Awesome, I figured it out. Run this command, which rebuilds LaunchServices:

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

And everything should be back to good! Immediately after running, the App Store allowed me to re-purchase the app.

Source: MacLife Link

OTHER TIPS

Just hit Launchpad and delete your app there by clicking and holding down the mouse button and clicking the "x" top left.

Now the Mac App Store knows it's deleted. Just redownload and be HAPPY!

It could be that the App Store interface sees your development version(s) as the installed copy. LaunchServices doesn't care if your app is in the /Applications folder or buried in your Xcode build directory. See also.

On Snow Leopard, I not only had to run the command in Craig's answer, I also had to make sure that Spotlight was up to date and did not show the app in question to still be on the computer.

You can refresh particular folders in Spotlight's index using the mdimport command. So to refresh the /Applications folder:

mdimport /Applications

I had a Lion partition as well as a SL partition on the machine. Spotlight was set up to index everything on both partitions, and there was a version of the app in question on my Lion partition. I added the entire Lion partition to Spotlight's ignore list, then ran the command in @Craig's answer, and everything worked. Just running the command in @Craig's answer was not enough for me.

Nothing helped (El Captain), so I opened Launchpad (F4), found application there, dragged it to Trash and successfully reinstalled.

Had the same issue. Just restarted my mac and then the app store could see that the app was not installed.

You can also hold down option while clicking the app in the app store to force it to re-install.

This will work on OSX Mavericks and Yosemite.

Instead of launching the App Store app from the dock or the apps folder, launch the App Store app from within the Launcher. This will rebuild the App Store app and tell you what's installed or not.

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top