Xcode 4.1 can't reinstall. App store says "installed"

37,493

Solution 1

When I downloaded Xcode from the Mac App Store it created an Icon in launchpad called 'Install Xcode' and you're able to kick off the install from there.

My installation failed the first time and I was able to reinstall fine.

Solution 2

sudo /Developer/Library/uninstall-devtools –mode=all

sudo rm -rf /Developer*

sudo rm -rf /Applications/*Xcode.app

Download & Install "Install Xcode.app" or now just "Xcode.app" from the AppStore again, and run it.

Solution 3

Try a spotlight search for Xcode. I found an Xcode installer app in my applications folder when I did that.

Solution 4

Delete "Applications/Install Xcode" you can then re-install from app store

Solution 5

I had the same problem with other app. Deleted it and could not install again from App Store. The problem was that I had backup copy on the mounted external disk. After I have un mounted the disk with the other copy, App Store let me download the app again. Regarding to what verylastminute wrote - if Appstore can "see" any other duplication file it will not let you re-download.

Share:
37,493
Admin
Author by

Admin

Updated on July 09, 2022

Comments

  • Admin
    Admin almost 2 years

    Today i update my system to Lion and try to update Xcode. After downloading from app store i get error.

    So i remove my old Xcode 4.0 by this command

    /Developer/Library/uninstall-devtools –mode=all

    But now in app store i have the status "installed" and can't reinstall my Xcode. So what i must do?

    p.s Trash is clear.

  • memmons
    memmons about 12 years
    I did indeed have the Install Xcode app in Applications, but it was for the previous version of Xcode. Deleting that still would not allow me to install. Finally, I just deleted xcode.app from Applications and was able to start downloading the new version.
  • Wowbagger and his liquid lunch
    Wowbagger and his liquid lunch almost 12 years
    Good tip. The crazy thing is that Spotlight found the install app, but ls -l 'Xcode' did not.
  • PeterK
    PeterK almost 12 years
    Thanks, this really helped (+1) i had missed the launchpad icon!
  • mda
    mda over 11 years
    Please note my answer only applies to Xcode 4.1 and maybe 4.2 or 4.0. The current version doesn't even have the /Developer directory anymore. :-)
  • mahemoff
    mahemoff over 11 years
    See @seano's answer too. It wasn't in launchpad for me, but found it using spotlight.
  • sudo
    sudo over 10 years
    It's not anywhere at all for me. The problem is that it's seeing Xcode on my backup drive. Ugh, the App Store is a mess. Why can't I just sudo apt-get install this thing?!