How can I hide the code coverage annotation in Xcode?
You can hide show it from the menubar Editor->Hide Code Coverage
For my case, I couldn't find it in the Editor
menu (Xcode 10.1);
Found out later that it appeared while working on a new file.
So, if you can't find it, simply right-click on the Sources
folder and choose New File
, it should then show up as below;