Friday, 15 April 2011

objective c - +[UIImage sd_imageWithData:]: unrecognized selector sent to class -



objective c - +[UIImage sd_imageWithData:]: unrecognized selector sent to class -

sdwebimage has been running fine me past 6+ months, started using cocoapods sdwebimage, having statically linked library ios project.

after switching on cocoapods today, app crashes erorr:

+[uiimage sd_imagewithdata:]: unrecognized selector sent class 0x25532cc

the code update made sdwebimagedownloader | downloadimagewithurl project compiles (sdwebimage had typedef update) utilize nsinteger:

previously:

downloadimagewithurl: url options: 0 progress: ^(nsuinteger receivedsize, long long expectedsize) { } completed: ^(uiimage *image, nsdata *data, nserror *error, bool finished) {

updated to:

downloadimagewithurl: url options: 0 progress: ^(nsinteger receivedsize, nsinteger expectedsize) { } completed: ^(uiimage *image, nsdata *data, nserror *error, bool finished) {

any ideas causing it? , how fixed?

thanks!

objective-c cocoapods sdwebimage

No comments:

Post a Comment