Just before publish, I was checking my app with the analyzer. It found many logic errors, but all of them on the cocos2d classes such as CCMenu, CCMenuItem or CCSprite, which has been written by smart and good people that know quite a bit.
I can’t go into their classes’ code, and assuming that it has submitted before.
Does it have to do something with the way i use them? Or if I see a logic error in one of their CCMenu lines, that means its their error?
Does apple accept that logic errors? Is there a specific rule for that?
These errors may be real errors in cocos2d, but sometimes the analyzer reports false positives because it doesn’t know all the invariants of the construct in question.
Dead code and dead store aren’t usually a problem (that is not to say they shouldn’t be removed).
In any case Apple doesn’t even see these errors, because they don’t show up in the compiled product. So I guess the answer is yes, Apple accepts these 🙂