How to Reset Xcode

When developing an application or tool using XCode, you can rearrange the workspace, specify the window elements to use and adjust shortcuts for your own preferences. XCode is a programming integrated development environment (IDE) for iOS and Mac OS X applications. As with many coding applications, each programmer has different preferences for layout. If you have set up a heavily customized layout or configurations settings, you can reset it if necessary from the Terminal.

Step 1

Click "Applications" on the Dock, "Utilities" and "Terminal."

Step 2

Type "defaults delete" and press "Enter." This deletes the customized settings set up.

Step 3

Type "rm -rf ~/Library/Application\ Support/Xcode" and press "Enter." This removes the configuration folders as well.

Step 4

Close Terminal by pressing "CMD"+"Q."


If you have existing projects in XCode, ensure they are still working and the working directories in the Project window are pointed to the right place. You may have to add them manually again.