Conseils techniques

How to uninstall Xcode from your Mac

Xcode is a IDE for macOS and for iOS that id designed to allow users to develop new apps and features relying on functions like iOS simulation and others practical options. If you are a developer, Xcode is a crucial solution. However, there may be cases in which you need to remove this tool. In this guide, you will learn how to completely uninstall Xcode and remove developer folders and tools as well. The method works when it comes to uninstalling any version of Xcode, including Xcode Beta, Xcode 4, Xcode 5 and Xcode 6.

Why should you uninstall Xcode?

There have been many reports of Xcode 6 having bugs in Swift compiler, which makes leads to computer freeze. This can be fixed by uninstalling Xcode, but the process to remove this app is not the same as with other common Mac tools. Xcode takes a lot of disk space during the installation so if you don’t want to use it, the best option is to uninstall it, following the below instructions.

How to uninstall Xcode completely

In order to remove Xcode from Mac completely, you need to do the following:

1. Open Terminal via /Applications/Utilities/ and type this command:

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

2. You will need to enter the admin password to confirm this action and allow the scripts to run.

You will also remove the Install Xcode application,. Once Xcode is uninstalled, the original Install Xcode application will still be located in /Applications/ folder so you also need to delete it.

Uninstall Xcode Unix development toolkit

1. Open Terminal app and enter the below command:

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

Uninstall Xcode Developer folder and contents only

By doing this, everything in the /Developer/ directory will be removed.

1. Open terminal and enter the below command:

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

Articles similaires

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Bouton retour en haut de la page
fr_FRFrench

Adblock détecté

S'il vous plaît envisager de nous soutenir en désactivant votre bloqueur de publicité