Pages

Reverting all Xcode settings to default settings

This is the officially recommended way to delta Xcode 5's preferences, type in Terminal.app:

defaults delete com.apple.dt.Xcode
 
That should restore Xcode to the state of its first launch.
(for older versions of Xcode the command was defaults delete com.apple.Xcode, i.e. without the dt in the middle).