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

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  

This worked for me:

 1. Open Activity Monitor 
 2. Search for XCode 
 3. Force quit all running instances of XCode
 4. Try again to move XCode to Trash

The problem for me was that I had the new version of Xcode running. The solution was to close Xcode and then I could delete the beta app file.


I had Xcode and the simulator running on another user profile. Closing these windows fixed the problem for me.

1. Log in to your other user profiles which share Xcode
2. Quit any running instance
3. Attempt to delete it