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.
Click "Applications" on the Dock, "Utilities" and "Terminal."
Type "defaults delete com.apple.Xcode" and press "Enter." This deletes the customized settings set up.
Type "rm -rf ~/Library/Application\ Support/Xcode" and press "Enter." This removes the configuration folders as well.
Close Terminal by pressing "CMD"+"Q."