On upgrading to cocos2d 2.x for 1.x, the project fails to compile and the following two errors are displayed:

1) Cannot find protocol declaration for CCTargetTouchDelegate

2) Cannot find protocol declaration for CCStandardTouchDelegate


In cocos2d 2.x the delegates class names have been renamed as follows:

CCTargetedTouchDelegate -> CCTouchOneByOneDelegate

CCStandardTouchDelegate -> CCTouchAllAtOnceDelegate

So simply change all places and replace old delegate names with new ones throughout your project classes.