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.
Ma
Try Deleting each view controller and Build to find the view controller causing an issue.
In my case, I misplaced object in the storyboard.
Deleting this object worked for me.