ios - Unreproducible crash: [__NSArrayI enumerateObjectsUsingBlock:]: unrecognized selector sent to instance -
i keep getting crash reports following crash:
*** terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[__nsarrayi enumerateobjectsusingblock:]: unrecognized selector sent instance
what triggering crash? empty array or not array @ all? not able reproduce crash myself, can see in crash logs.
you have memory issue, fact can't regularly reproduce suggests memory issue.
the error getting saying, "we tried call method on object have pointer to, unfortunately object not type of object told me going be."
i can speculate given information you've provided. take fine tooth comb through code , make sure not changing object prior crash happening.
try adding debug check make sure correct class. nsasserts not solution, not compiled production apps but, should find cause of error.
nsassert([myobject iskindofclass:[nsarray class]], @"aw snap not array!");
post more info , can try further
Comments
Post a Comment