Reset Xcode Preferences:
You can try resetting Xcode preferences to their default settings. Keep in mind that this will reset all your preferences, so make sure to back up any custom settings you want to keep.
Quit Xcode.
In Terminal, run the command: defaults delete com.apple.dt.Xcode.
Restart Xcode.