I was having this error today and restarting Xcode did not fix it but closing out all the tabs within Xcode fixed the problem for me.
Topic:
Programming Languages
SubTopic:
Swift
Tags: