15-09-2021

So the solution is to compile Xdebug manually, manually specifying the actual location of the header files, which are still provided by Xcode, just at a different location. First, make sure Xcode is installed, including the command line tools. The following command will display the location of the default SDK. If you want to get rid of Xcode 10, 11, 12 or other versions to free up more space on your Mac, we will show you about the tactics to uninstall Xcode on Mac as follow. Just keep on reading to find out! Article Guide Part 1. Do I Need Xcode on My Mac? How to Completely Delete Xcode on Mac? How to Uninstall Xcode on Mac Manually.

/Mac Uninstaller /How to Uninstall Xcode on Mac Completely [2021 Update]

Today, Let's discuss how to uninstall Xcode on Mac to free up more space.

Xcode is created by Apple as one of the best developer’s toolkits that they can use for iOS and Mac app development. However, the projects that are made using Xcode will take up a huge space on your Mac’s storage.

Mac Catalina Xcode

If you want to get rid of Xcode 10, 11, 12 or other versions to free up more space on your Mac, we will show you about the tactics to uninstall Xcode on Mac as follow. Just keep on reading to find out!

Article GuidePart 1. Do I Need Xcode on My Mac?Part 2. How to Completely Delete Xcode on Mac?Part 3. How to Uninstall Xcode on Mac ManuallyPart 4. How to Delete Xcode Files Quickly from MacPart 5. Conclusion

Part 1. Do I Need Xcode on My Mac?

Xcode is a package wherein it is used to develop some tools on your Mac and iOS operating system. This actually includes several types of utilities that are actually useful and is required for a development process for applications.

Having this program installed on your Mac is just as simple as downloading it from the Mac store. But making use of the Xcode app for a long period of time can actually make gigabytes of data in your cached. The worst part of it is that it can even eat up some of your storage space even after your work is done. Some of its additional aspects can include other things like the Interface, iPhone Simulator, Quartz Composer, Dashcode, dtrace, perl, python, ruby, and so much more.

This app will also create a lot of temporary cache files and as time pass by, these files will become hidden and will take up your storage space, eventually make your Mac running slow. Also, these junks will slow your Xcode down, and worst, it will become unresponsive.

So, do you need Xcode on your Mac? Now, if this happens to your Mac, there might be a need for you to clean your Xcode by deleting some apps and all of your old caches. However, this cannot be done with just a normal process of uninstalling it if you want to clean uninstall xcode.

When you are going to uninstall Xcode on Mac, it is not as simple as dragging the icon to your Trash. This will not uninstall your Xcode completely. Some of its cache, files, and other things associated with it will remain in your hard drive.

With this issue, there are actually several questions that you might be dealing with now:

  • Is it safe to delete Xcode?
  • Can I delete Xcode from my Mac?
  • Can I completely uninstall the Xcode from my Mac?

The answer to these questions is really simple and it is a big YES! We have included here ways on how you can actually completely remove the Xcode app from your Mac together with all the files that are associated with this app. And doing this will actually give you more disk space for your new apps and files and it will also boost the speed performance of your Mac.

Full Solutions to uninstall Xcode on Mac including 10, 11, 12, 13, or other versions are as follows.

Part 2. How to Completely Delete Xcode on Mac?

How to Completely Delete Xcode from Mac? Now that you are able to clean up any Xcode build files on your Mac PC using the iMyMac PowerMyMac, then the next thing that you should do is for you to completely remove Xcode from your Mac PC.

PowerMyMac allows you to uninstall all the apps like Microsoft Office that you no longer need from your Mac, then you can save more space to store other files or apps that you want. It will also help you locate the images on your Mac and get rid of the unnecessary photos to boost the speed performance of your Mac PC.

Before you delete some files from your Mac PC, you will be able to preview them first. This means that all the things or actions will be in control. Follow the steps below on how to completely uninstall xcode 10 or other versions:

Step 1. Download and Install iMyMac PowerMyMac on Your Mac

Download the iMyMac PowerMyMac for free from the official website https://www.imymac.com and then have it installed on your Mac PC. Then go ahead and run the program. Select the module “Uninstaller”.

Step 2. Scan All The Softwares on Your Mac

After choosing the Uninstaller, go ahead and click the Scan button. The program will then start scanning your applications on your Mac automatically.

Xcode Mac Catalina

Step 3. Choose and Clean The Unneeded Xcode on Mac

Once that the scanning is complete, you will be able to see all the software listed on your main screen. From that list, go ahead and choose the Xcode app. If you just want to delete older versions of Xcode, you can only choose the versions you want to remove and remain the latest version. After selecting that, go ahead and click on the Clean button to remove Xcode and the related files. That's all, how easy it is to uninstall Xcode on Mac with PowerMyMac!

Tip: Powerful Features of iMyMac PowerMyMac:

Mac Os Catalina Xcode

  • It is powerful to uninstall apps or software unsafe/useless from your Mac PC.
  • It is quick and efficient when it comes to scanning your Mac
  • It will help you remove all the software together with its associated files that you no longer need.
  • It will be able to show you all the scanned results and sizes, time, and more.

Part 3. How to Uninstall Xcode on Mac Manually

We are going to show you here that standard method on how you can remove your Xcode 10, 11 or other versions from your Mac PC.

Xcode For Mac Catalina

Here are the steps that you need to take to uninstall Xcode on Mac:

  1. Go to your Applications folder.
  2. Drag the Xcode icon to your trash.
  3. Clean up your Trash bin.

Doing this will remove the main app. Let us proceed and remove the rest of your Xcode files.
All you have to do is to follow these simple instructions. Please keep in mind that you have to follow instructions carefully for you to avoid having bad consequences:

  1. Launch Finder on your Mac.
  2. From the menu, go ahead and click Go.
  3. After that, go ahead and go to Folder.
  4. Go to ~/Library/Developer/.
  5. After that, look for Developer folder.
  6. Once you find that folder, delete it.

If you are actually using the earlier version of Xcode on your Mac like the 7 or 8, they will definitely leave some marks all over the place.

Now, for you to remove these marks or your old Xcode, proceed and do the following steps:

  1. Launch Terminal on your Mac.
  2. Run this access sudo: /Developer/Library/uninstall-devtools --mode=all.
  3. Enter and confirm your admin password.
  4. This point, the script will run on your Mac. Wait for it to finish.
  5. One the script is done running, go ahead and quit the Terminal.

Now, there is just one more thing that you need to do for you to remove Xcode application cache completely from your Mac PC. In some cases, on some versions of the app, they are actually left during purging so if this is the case, you can go ahead and visit this directory.

This is for you to be assured that there are no files left:

  1. Search ~/Library/Caches/com.apple.dt.Xcode file on Mac.
  2. If you found out that there are some files left, you can go ahead and simply clean up the folder.

Once that you have fully removed all the traces of Xcode on your Mac PC, go ahead and reinstall the app. This time, you should be able to experience a faster experience using your Mac. You will also have more space on your Mac after you delete Xcode on Mac.

If you also want to uninstall Xcode command line tools, just follow the steps below:

  1. Find the tool in this directory '/Library/Developer/CommandLineTools' and delete it.
  2. Launch the Terminal, enter this command 'sudo rm -rf /Library/Developer/CommandLineTools' and hit enter to remove it.
  3. You also need to reset the default command-line tools by entering this command 'sudo xcode-select -r'

Part 4. How to Delete Xcode Files Quickly from Mac

If you want to clean uninstall Xcode on Mac, you must remove the related files. About clean old file, here is the easiest way to do with iMyMac. If you are thinking that doing the manual way on deleting your Xcode on your Mac is too risky, we are going to show you another simplest and easiest method without having any risk.

Here are what you need to do using the iMyMac PowerMyMac:

  1. Launch the iMyMac PowerMyMac on your Mac and choose Master Scan from the left panel of your screen.
  2. Click on the Scan button.
  3. Choose the Xcode Junk from the category of junk files shown on your screen.
  4. After that, go ahead and click on the Clean button.

From here, you will be able to free up some of your storage space and boost up the speed performance of your Mac PC.


Part 5. Conclusion

Xcode is commonly used by developers of Mac app and for other iDevices. However, not all people will know about this because it is unlikely to be used. This is the reason why some users would want to uninstall Xcode on Mac. You can drag them to your Trash Bin but there will always be some file residue that will stay.

Luckily, we have here ways on how you can do this. You can either do it manually or in the easiest way using the iMyMac PowerMyMac. Doing this will maintain your Mac’s performance and will let you have more of your storage space which will give you the privilege to store other applications or files that you most need.

ExcellentThanks for your rating.

Rating: 4.4 / 5 (based on 71 ratings)

People Also Read:

PowerMyMac

A powerful all-in-one App for Mac

Mac Catalina XcodeFree Download
Comment ()

Davy2018-12-19 06:04:06

I have had the Xcode 10beta installed on my Mac but I always get a crash error during the course I take on Xcode, so I dragged it to trash but left some files. Thanks for your tips, now I have removed it completely!

iMyMac2018-12-19 09:13:05

Happy to hear that.

Clean up and speed up your Mac with ease

Free Download

Xcode is a complete developer toolset for creating apps for Mac, iPhone, iPad, Apple Watch, and Apple TV. Xcode brings user interface design, coding, testing, debugging, and submitting to the App Store into a unified workflow.

Downloading and updating Xcode

The current release of Xcode is available as a free download from the Mac App Store. The Mac App Store will notify you when an update is available or you can have macOS update automatically as it becomes available.

The latest beta version and previous versions of Xcode can be downloaded from the Downloads page. To download Xcode, simply sign in with your Apple ID.Apple Developer Program membership is not required.

Using Xcode

Get step-by-step guidance on how to use Xcode to build, test, and submit apps to the App Store.

Submitting apps to the App Store using Xcode

Xcode provides an integrated workflow for Apple Developer Program members to prepare and submit apps to the App Store. Use the latest version of Xcode available on the Mac App Store to submit your apps or, when available, the latest Release Candidate from the Downloads page.

Don't submit apps built using beta software, as beta versions of Xcode, Operating Systems, and SDKs are for development and testing only.

Learning about changes to Xcode

Mac Catalina Xcode 10

To learn about the latest features and capabilities in Xcode, see What’s New in Xcode. For update details in the latest released versions, including each beta release, see the Xcode Release Notes.

Minimum requirements and supported SDKs

Xcode VersionMinimum OS RequiredSDKArchitectureDeployment TargetsSimulatorSwift
Xcode 13 betamacOS Big Sur 11.3iOS 15
macOS 12
tvOS 15
watchOS 8
DriverKit 21
x86_64
armv7
armv7s
arm64
arm64e
iOS 9-15
iPadOS 13-15
macOS 10.9-12
tvOS 9-15
watchOS 2-8
DriverKit 19-21
iOS 10.3.1-15
tvOS 10.2-15
watchOS 3.2-8
Swift 4
Swift 4.2
Swift 5.5
Xcode 12.5.1macOS Big Sur 11iOS 14.5
macOS 11.3
tvOS 14.5
watchOS 7.4
DriverKit 20.4
x86_64
armv7
armv7s
arm64
arm64e
iOS 9-14.7
iPadOS 13-14.7
macOS 10.9-11.5
tvOS 9-14.7
watchOS 2-7.6
DriverKit 19-20.4
iOS 10.3.1-14.5
tvOS 10.2-14.5
watchOS 3.2-7.4
Swift 4
Swift 4.2
Swift 5.4
Xcode 12.5macOS Big Sur 11iOS 14.5
macOS 11.3
tvOS 14.5
watchOS 7.4
DriverKit 20.4
x86_64
armv7
armv7s
arm64
arm64e
iOS 9-14.6
iPadOS 13-14.6
macOS 10.9-11.4
tvOS 9-14.6
watchOS 2-7.5
DriverKit 19-20.4
iOS 10.3.1-14.5
tvOS 10.2-14.5
watchOS 3.2-7.4
Swift 4
Swift 4.2
Swift 5.4
Xcode 12.4macOS Catalina 10.15.4 (Intel-based Mac)
macOS Big Sur 11
(Apple silicon Mac)
iOS 14.4
macOS 11.1
tvOS 14.3
watchOS 7.2
DriverKit 20.2
x86_64
armv7
armv7s
arm64
arm64e
iOS 9-14.4
iPadOS 13-14.4
macOS 10.9-11.1
tvOS 9-14.3
watchOS 2-7.2
DriverKit 19-20.2
iOS 10.3.1-14.4
tvOS 10.2-14.3
watchOS 3.2-7.2
Swift 4
Swift 4.2
Swift 5.3
Xcode 12.3macOS Catalina 10.15.4 (Intel-based Mac)
macOS Big Sur 11
(Apple silicon Mac)
iOS 14.3
macOS 11.1
tvOS 14.3
watchOS 7.2
DriverKit 20.2
x86_64
armv7
armv7s
arm64
arm64e
iOS 9-14.3
iPadOS 13-14.3
macOS 10.9-11.1
tvOS 9-14.3
watchOS 2-7.2
DriverKit 19-20.2
iOS 10.3.1-14.3
tvOS 10.2-14.3
watchOS 3.2-7.2
Swift 4
Swift 4.2
Swift 5.3
Xcode 12.2macOS Catalina 10.15.4 (Intel-based Mac)
macOS Big Sur 11
(Apple silicon Mac)
iOS 14.2
macOS 11
tvOS 14.2
watchOS 7.1
DriverKit 20
x86_64
armv7
armv7s
arm64
arm64e
iOS 9-14.2
iPadOS 13-14.2
macOS 10.9-11
tvOS 9-14.2
watchOS 2-7.1
DriverKit 19-20
iOS 10.3.1-14.2
tvOS 10.2-14.2
watchOS 3.2-7.1
Swift 4
Swift 4.2
Swift 5.3
Xcode 12.1macOS Catalina 10.15.4 (Intel-based Mac)
macOS Big Sur 11
(Apple silicon Mac)
iOS 14.1
macOS 10.15.6
tvOS 14
watchOS 7
DriverKit 19
x86_64
armv7
armv7s
arm64
arm64e
iOS 9-14.1
iPadOS 13-14.1
macOS 10.9-11
tvOS 9-14
watchOS 2-7
DriverKit 19
iOS 10.3.1-14.1
tvOS 10.2-14
watchOS 2-7
Swift 4
Swift 4.2
Swift 5.3
Xcode 12macOS Catalina 10.15.4 (Intel-based Mac)
iOS 14
macOS 10.15.6
tvOS 14
watchOS 7
DriverKit 19
x86_64
armv7
armv7s
arm64
arm64e
iOS 9-14
iPadOS 13-14
macOS 10.6-10.15.6
tvOS 9-14
watchOS 2-7
DriverKit 19
iOS 10.3.1-14
tvOS 10.2-14
watchOS 3.2-7
Swift 4
Swift 4.2
Swift 5.3
Xcode 11.7macOS Catalina 10.15.2iOS 13.7
macOS 10.15.6
tvOS 13.4
watchOS 6.2
DriverKit 19
x86_64
armv7
armv7s
arm64
arm64e
iOS 8-13.7
iPadOS 13-13.7
macOS 10.6-10.15.6
tvOS 9-13.4
watchOS 2-6.2
DriverKit 19
iOS 10.3.1-13.7
tvOS 10.2-13.4
watchOS 3.2-6.2
Swift 4
Swift 4.2
Swift 5.2
Xcode 11.6macOS Catalina 10.15.2iOS 13.6
macOS 10.15.6
tvOS 13.4
watchOS 6.2
DriverKit 19
x86_64
armv7
armv7s
arm64
arm64e
iOS 8-13.6
iPadOS 13-13.6
macOS 10.6-10.5.6
tvOS 9-13.4
watchOS 2-6.2
DriverKit 19
iOS 10.3.1-13.6
tvOS 10.2-13.4
watchOS 3.2-6.2
Swift 4
Swift 4.2
Swift 5.2
Xcode 11.5macOS Catalina 10.15.2iOS 13.5
macOS 10.15.4
tvOS 13.4
watchOS 6.2
DriverKit 19
x86_64
armv7
armv7s
arm64
arm64e
iOS 8-13.5
iPadOS 13-13.5
macOS 10.6-10.15.4
tvOS 9-13.4
watchOS 2-6.2
DriverKit 19
iOS 10.3.1-13.5
tvOS 10.2-13.4
watchOS 3.2-6.2
Swift 4
Swift 4.2
Swift 5.2
Xcode 11.4.xmacOS Catalina 10.15.2iOS 13.4
macOS 10.15.4
tvOS 13.4
watchOS 6.2
DriverKit 19
x86_64
armv7
armv7s
arm64
arm64e
iOS 8-13.4.x
iPadOS 13-13.4.x
macOS 10.6-10.15.4
tvOS 9-13.4
watchOS 2-6.2
DriverKit 19
iOS 10.3.1-13.4.x
tvOS 10.2-13.4
watchOS 3.2-6.2
Swift 4
Swift 4.2
Swift 5.2
Xcode 11.3.xmacOS Mojave 10.14.4iOS 13.3
macOS 10.15.2
tvOS 13.3
watchOS 6.1.1
DriverKit 19
x86_64
armv7
armv7s
arm64
arm64e
iOS 8-13.3
iPadOS 13-13.3
macOS 10.6-10.15.2
tvOS 9-13.3
watchOS 2-6.1.1
DriverKit 19
iOS 10.3.1-13.3
tvOS 10.2-13.3
watchOS 3.2-6.1.1
Swift 4
Swift 4.2
Swift 5.1
Xcode 11.2.xmacOS Mojave 10.14.4 iOS 13.2
macOS 10.15.1
tvOS 13.2
watchOS 6.1
DriverKit 19
x86_64
armv7
armv7s
arm64
arm64e
iOS 8-13.2.x
iPadOS 13-13.2.x
macOS 10.6-10.15.1
tvOS 9-13.2
watchOS 2-6.1
DriverKit 19
iOS 10.3.1-13.2.x
tvOS 10.2-13.2
watchOS 3.2-6.1
Swift 4
Swift 4.2
Swift 5.1
Xcode 11.1macOS Mojave 10.14.4 iOS 13.1
macOS 10.15
tvOS 13
watchOS 6
DriverKit 19
x86_64
armv7
armv7s
arm64
arm64e
iOS 8-13.1
iPadOS 13-13.1
macOS 10.6-10.15
tvOS 9-13
watchOS 2-6
DriverKit 19
iOS 10.3.1-13.1
tvOS 10.2-13
watchOS 3.2-6
Swift 4
Swift 4.2
Swift 5.1
Xcode 11macOS Mojave 10.14.4iOS 13
macOS 10.15
tvOS 13
watchOS 6
DriverKit 19
x86_64
armv7
armv7s
arm64
arm64e
iOS 8-13
iPadOS 13-13
macOS 10.6-10.15
tvOS 9-13
watchOS 2-6
DriverKit 19
iOS 10.3.1-13
tvOS 10.2-13
watchOS 3.2-6
Swift 4
Swift 4.2
Swift 5.1
Xcode 10.3macOS Mojave 10.14.3iOS 12.4
macOS 10.14.6
tvOS 12.4
watchOS 5.3
x86_64
armv7
armv7s
arm64
arm64e
iOS 8-12.4
macOS 10.6-10.14.6
tvOS 9-12.4
watchOS 2-5.3
iOS 10.3.1-12.4
tvOS 10.2-12.4
watchOS 3.2-5.3
Swift 4
Swift 4.2
Swift 5
Xcode 10.2xmacOS Mojave 10.14.3iOS 12.2
macOS 10.14.4
tvOS 12.2
watchOS 5.2
x86_64
armv7
armv7s
arm64
arm64e
iOS 8-12.2
macOS 10.6-10.14.4
tvOS 9-12.2
watchOS 2-5.2
iOS 8.1-12.2
tvOS 9-12.2
watchOS 2-5.2
Swift 4
Swift 4.2
Swift 5

Legend

Minimum OS Required: The version of macOS required to install this version of Xcode.

SDK: The version of SDKs included in this version of Xcode.

Architecture: The architectures supported for development by this version of Xcode.

Xcode

OS: The iOS, iPadOS, macOS, tvOS, and watchOS versions supported by this version of Xcode for developing, installing, and debugging applications.

Simulator: Versions of iOS, tvOS, and watchOS simulators supported for development by this version of Xcode.

Swift: Version of Swift supported for development by this version of Xcode.

Providing feedback and reporting bugs

Your feedback goes a long way toward making Xcode even better. With Feedback Assistant, you can report issues or request enhancements to APIs and tools. Provide detailed information about issues, including your system and developer tool versions, and any relevant crash logs or console messages. To ask questions and find answers from Apple engineers and other developers, visit the Apple Developer Forums.

Invalid private key and certificate pairing

If you receive an error message saying, 'Xcode could not find a valid private-key/certificate pair for this profile in your keychain,” the Keychain Access application on your Mac is missing either the public or private key for the certificate you’re using to sign your app.

This often happens when you're trying to sign and build your app from a different Mac than the one you originally used to request your code signing certificate. It can also happen if your certificate has expired or has been revoked. Ensure that your app’s provisioning profile contains a valid code signing certificate, and that the Keychain Access application on your Mac contains that certificate, the private key originally used to generate that certificate, and the WWDR Intermediate Certificate.

For instructions on how to resolve this and other code signing errors, review the Code Signing Support page.

Apple security updates

Mac Catalina Xcode Install

For information on the security content of Xcode updates, visit the Apple security updates page.