While editing in the storyboard, specifically assigning a view controller to a specific class, I suddenly encountered this error when I wanted to run the project.
I had same problem with xcode8 beta 6 , Command+K was not helpful , But then for which .xib file xcode was displaying error, I just corrected its related properties in IB like mine view was custom one & some of its inner image view properties. then i cleaned the build & run the app. It worked.