I ran into this error, apparently with a completely different scenario from these answers above. Hopefully some people will do what I did and find it useful, even if this is a rare occurrence.
I managed to get this error by simply adding a new viewController to my project. As usual, I added a tableview and limited it, and then added and linked the delegate and the data source. I also created a property.
The strange thing I noticed then was that as soon as I finished creating the property, it was immediately connected, as if I had connected it, but before I connected it. When I clicked on the xib file and checked the links, it was not actually associated with the table view.

(This link appeared automatically, without the need to create it yourself)
I do not know why this happened. I deleted the file and redid it with the same name, but it happened again. Give me this error above.
The way I decided was to create a new file, a different name and add and create links in a different order, checking at each step that this did not happen. After that, nothing connected was created, and it worked.
TL DR: If you get this error and recently added a new view controller, check to see if this removes the action, and if so, they will be careful about any automatic links.
simon_smiley Nov 07 '14 at 3:37 a.m. 2014-11-07 03:37
source share