Cocos2d Error

    child already added. It can't be added again COCOS2D CCNode에러

    COCOS2D 의 CCnode에서 발생하는 에러로 Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'child already added. It can't be added again' 위와 같은 에러메세지를 출력하는 경우, Child가 중첩되어 Add 를 하거나 Child의 Parent가 존재하지 않는데 추가를 하려고 시도하는 경우 발생한다. -(void) addChild: (CCNode*) child z:(NSInteger)z tag:(NSInteger) aTag { if (nil==child) { CCLOG(@"%@ : have nil child. not adding.",self.class); re..