I had the same problem for a viewcontroller which was removed accidantly.I readded files to project but adding Outlets by draging with from xib file gave me the mentioned error.I cleaned the project and restarted XCode and everything worked fine again.