Reputation: 345
I am getting the following ios crash
"this class is not key value coding-compliant for the key image1"
i though I had removed all references to "image1" but seemingly not.
Is there anyway I can search for any such references through out the project (even in the nib)?
Upvotes: 1
Views: 2428
Reputation: 1782
Typically when I see this it's because of a NIB connection. The easiest way is to open the NIB in Interface Builder, select the Files Owner then the connections inspector (-> button in the utilities view). There you can see all of the connections made to that object. You can also walk through all of the items in your NIB with the connection inspector open until you find the offending element.
Upvotes: 2
Reputation: 11598
To search in your nib/xib, right click on it and select "Open As --> Source Code"
Unfortunately, I've come across this error a couple of times where I was completely unable to get Xcode sorted out. I'd first try to manually get rid of it all from your code. If that fails, try closing and re-opening Xcode. If that fails, try a reboot. If that fails, I think you might need to start a new project and migrate your code over.
This is a bummer of a bug!
Upvotes: 0