Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For some reason, I cannot convince the app store that an application (Xcode, in this case) is not installed.

I have deleted /Developer (which only contained an old, busted Xcode 3.2.3) and tried to rebuild the LaunchServices DB (using lsregister -kill -r -domain local -domain system -domain user) but to no avail; The app store stubbornly claims that Xcode is already installed.

I'm at my wit's end, here.

share|improve this question
Xcode is sold as an installer - have you checked for that and deleted it? Launchpad should have it with an X at thhe top left when the icons are wiggling ( hold the mouse down until they wiggle and then page through ) and spotlight may find the installer even faster. – bmike Jul 27 '11 at 14:15
up vote 2 down vote accepted

For Xcode, try to go to /Applications and move "Install Xcode" to trash.

I think Xcode is a special case, it doesn't get deleted when you delete it form launchpad.

share|improve this answer

First, you can try to remove all remaining traces of the old program. Search your whole hard drive (including all partitions and accounts), and attached external drives for related files and remove them.

If you can't get the App Store to believe that you don't have the app anymore, hold down option and click on the Install button. That will let you download it, and the installer will probably work.

share|improve this answer
Some have reported you have to quit the app store app, hold option when it launches and keep it held until you get to the download button. – bmike Jul 27 '11 at 14:19

This probably indicates that you have a cracked application on your computer. Within the package of each application there is a folder called /Contents/_MASReceipt. This is the Mac App Store Receipt file. A common way for people to crack Mac App store applications is to replace the receipt folder with the receipt of another program that you have legitimately purchased or installed with your Apple ID. Since the receipt for XCode exists within some other application that is not Xcode, you will always see the update until you either install the latest version of Xcode or remove the application (that is not Xcode) that includes the Xcode receipt.

share|improve this answer
Do you know an easy (or any) way to find the offending app (the one with the copied _MASReceipt)? – patrix Oct 22 '12 at 7:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.