NSInvocation: object does not implement methodSignatureForSelector

Posted by Sam V on Stack Overflow See other posts from Stack Overflow or by Sam V
Published on 2010-05-23T22:19:15Z Indexed on 2010/05/23 22:20 UTC
Read the original article Hit count: 249

Filed under:
|

I have this weird crash that only happens when running the app on the device (doesn't happen in the Simulator). It seems like the problem surfaces out of nowhere, as I haven't changed anything on that particular class. I had the very same issue a few days ago, and I ended up fixing it by duplicating the class, renaming it, and changing the referenced class — I haven't changed a single bit of code.

So I'm trying to understand why it's doing this. I've read somewhere that usually you get this console error when the object isn't a subclass of NSObject (but it is!). Here's the exact console error message:

*** NSInvocation: warning: object 0x679e0 of class 'FFProximityPickerView' does not implement methodSignatureForSelector: -- trouble ahead
*** NSInvocation: warning: object 0x679e0 of class 'FFProximityPickerView' does not implement doesNotRecognizeSelector: -- abort

And then it crashes.

I'd be very thankful for anyone who can help me on this.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about crash