I
I
inscamp2014-07-20 16:52:36
Apple Xcode
inscamp, 2014-07-20 16:52:36

How to uninstall Xcode?

Initially, I tried to remove it like any other program by dragging it to the trash, then deleting it from there. However, I did not succeed in deleting Xcode from the trash. Decided to delete through the terminal.
Googled it. Everywhere, removal is recommended in the following way:

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

To which I get the response "command not found". I decided that I need to write the path differently
sudo Applications/Xcode/Contents/Developer/Library/uninstall-devtools --mode=all

However, the terminal response is the same.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
trall, 2014-07-20
@sashablashenkov

Try adding a slash to the beginning of the path

sudo /Developer/Library/uninstall-devtools --mode=all
sudo /Applications/Xcode/Contents/Developer/Library/uninstall-devtools --mode=all

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question