Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you completely delete projects in Xcode?

So if I go into my selected save folder for my projects and delete my project it no longer shows up in Xcode. However I can still find some other files if I look under my user name/Library/Developer/Xcode/DerivedData. There are other files Xcode creates and I'm afraid if I make, and delete a bunch of projects, it is just gonna clutter my Mac with a mess of unneeded files. So how do I completely remove a project in Xcode? Appreciate the help.

like image 928
Josh G Avatar asked Sep 01 '11 22:09

Josh G


People also ask

How do you remove a project?

In the File menu, select Delete Project. All project source code and data will be deleted after you confirm the deletion. You will not be able to recover deleted projects.

Can I delete Xcodeproj?

No, you can't. In fact the xcworkspace file use xcodeproj file of you project. The purpose of the xcworkspace file is to make the merge between your project (and its xcodeproj ) and the Cocoapods projects (and its Pods.


1 Answers

Xcode 9

  • In Finder, delete the project folder. (If you don't know where it is, open the project in Xcode and right click on project name in the Project Navigator. Choose Show in Finder.)
  • In Xcode, remove the deleted project from the menu. (Go to File > Open Recent > Clear Menu. This will clear all of your recent projects from this menu and the startup menu.)
like image 54
Suragch Avatar answered Nov 06 '22 00:11

Suragch