I\'ve just updated to Xcode 9.4.1 and experienced an issue with the clipboard being cleared randomly.
So I select a text, hit CMD+C, then go to the posi
CMD+C
You Can try this one:
This is the officially recommended way to reset Xcode's preferences, type in Terminal.app:
defaults delete com.apple.dt.Xcode