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
A stupid mistake that I made was that I named my @implementation the same as my superclass.
In the .h
@interface Subclass : Superclass
@end
In the .m
#import "Subclass.h"
@implementation Superclass
@end
None of the regular suggestions from google seemed to help, so if someone is as crazy or tired as I am (maybe a healthy mix of both), make sure you haven't duplicated an @implementation!