Parse-NSCoding icon indicating copy to clipboard operation
Parse-NSCoding copied to clipboard

Unrecognized Selector

Open ace1294 opened this issue 11 years ago • 5 comments

I installed your framework using cocoa pods and for some reason I think my project isn't recognizing it because it's throwing the unrecognized selector on [PFObject encodeWithCoder:] so that means that my project isn't recognizing your extension. I've tried deleting it and re-install the pod again but no luck. Any suggestions?

ace1294 avatar Jun 25 '14 00:06 ace1294

Same issue here and with somebody else as well. It's driving me nuts. I haven't tried yet, but does manually adding the files to the project correct the problem? Give it a shot and let me know.

kfernandes29 avatar Jun 26 '14 13:06 kfernandes29

I haven't tried that yet, but if it comes down to it I eventually will try. I'm a bit annoyed by this as well, pods are suppose to make this easy. And everything about this pod is exactly what I've been looking for especially seeing all the positive feedback on it.

ace1294 avatar Jun 26 '14 13:06 ace1294

The most frustrating part is this was working perfectly for me a few weeks ago. I don't get it.

kfernandes29 avatar Jun 26 '14 14:06 kfernandes29

Oh that is frustrating. This the first time I'm using it, if you find a fix let me know.

ace1294 avatar Jun 26 '14 14:06 ace1294

Alright, so manually adding the files to the project and importing them into my *-Prefix.pch file corrected the problem.

#import "PFObject+NSCoding.h" #import "PFGeoPoint+NSCoding.h" #import "PFFile+NSCoding.h" #import "PFACL+NSCoding.h"

kfernandes29 avatar Jun 26 '14 14:06 kfernandes29