I am trying to run my cocos2d application and facing this error, as I have recently upgraded my sdk to 4.2 and my cocos2d to 0.99.5.
I tried to clean my project even
Another rather simple thing to check is that you did not accidentally #import a .m file instead of a .h header file.
#import
.m
.h
Happened to me.