error: /usr/include/objc/objc-class.h: No such file or directory

Viewed 14359

I am currently using blocks in my UIButton category. However I have come across this error which I cannot solve:

error: /usr/include/objc/objc-class.h: No such file or directory

This is the line of code that uses blocks:

FTButtonBlock block = objc_getAssociatedObject(self, "buttonBlock");
3 Answers
Related