title: NSDictionary objectForKey IPhone simulator and IPhone device
body: <p>I have this function  <code>return [remoteObject objectForKey:key];</code> which should return an object that is in my dictionary.</p>
  
  <p>When I am starting the Iphone simulator everything is fine and it returns the right object.
  But when I am starting the same application an my device my application crashes and it says SIGABRT
  and </p>
  
  <blockquote>
    <p>2011-12-05 10:25:17.601 iPhoneXMPP[242:1a1f] -[CALayer objectForKey:]:
    unrecognized selector sent to instance 0x4f3d40 2011-12-05
    10:25:17.602 iPhoneXMPP[242:1a1f] <em>*</em> Terminating app due to uncaught
    exception 'NSInvalidArgumentException', reason: '-[CALayer
    objectForKey:]: unrecognized selector sent to instance 0x4f3d40'</p>
  </blockquote>
  
  <p>My key is an Id (17) and it is also in my dictionary.</p>
  
  <p>Does anybody of you knows why this happens only on my device?</p>