Macos – The item “Xcode” can’t be moved to the Trash because some of its extensions are in use

macmacosxcode

I'm trying to delete Xcode from my MacBook, so I could download the latest version (updating it in the app store just gives me that spinning circle, which has been going on for three days).

However, whenever I drag it into the trash, nothing happens. When I'm deleting it from the applications folder, it says the following:

The item “Xcode” can’t be moved to the Trash because some of its
extensions are in use.

One of the suggestions online is to use Activity Monitor to find out any open instances of the app. Well, unless Xcode's extensions are named differently, I didn't see anything that even starts with X in there.

Can anyone help me out pls?

Additional Details:
I'm on El Capitan, attempting to update my Xcode from 6.something to the newer version 7, before this happened.

Best Answer

Fixed it by doing the following

1. Control-click on Xcode  
2. Select 'show package contents'  
3. Open folder  
4. Delete plugins folder  
5. Open finder window  
6. Navigate to folder containing Xcode app  
7. Press command-delete and move to bin  
Related Question