I\'ve experienced something today while I\'m building my app. I\'ve declared a protocol in my MyObject1 and add delegate property on it. I\'ve assign MyObject2 as a Delegat
The error must be in import loop.
I had import "AppDelegate.h" in both the classes.I removed it from the class which declared protocol and the error was gone. :)