iOS - No Known class method for selector 'dataForDay:month:year'

1.1k Views Asked by At

I got this error when I use kal library its inside KalLogic.m

No Known class method for selector 'dataForDay:month:year'

Any suggestion to fix it

Screen shot of problem enter image description here

1

There are 1 best solutions below

0
Mina Fawzy On BEST ANSWER

First make sure you import NSDate+Convenience library

 import NSDate+Convenience.h

Second add "-ObjC" to the additional flags enter image description here