title: Cocos2d 2.0 error xcode 5.2
body: <pre><code>for (CCSprite *body in bodyArray) {
      if (CGRectIntersectsRect(snakeHead.boundingBox, body.boundingBox)) {
          [self unscheduleUpdate];
          [self gameOver];
      }
  }
  </code></pre>
  
  <p>This is my code which worked perfectly on xcode4.2 osx 10.6.8,
  but when I HAD to upgrade to xcode 4.5 this gives me a warning "Local declaration of 'body' hides instance variable"
  I have no single clue what this means and I have searched for the problem but haven't found any soution.
  Does anyone here understand this warning?</p>