1. remove the source code folder.2. open Organizer in Xcode.Right click on the project > Remove from OrganizerThis removes the associated files and directories such as built product, and etc.