views:

4

answers:

0

This is a mysterious bug for me. I suspect the issue is burried somewhere in IB or my code, but so far I haven't been able to find anything suspicious. Hopefully one of you more experienced developers have run across a similar issue and can point me in the right direction.

I have a view set up in IB, and I have a subclassed MKMapView added as a subview. When I run my app, I get:

-[DetailMapViewDelegate mapView:didUpdateUserLocation:]: message sent to deallocated instance

I did a bit of troubleshooting, and even tried [self.delegate retain] in my map view's -init method, to no effect. Afterwords, I tried removing all references to my MKMapViewDelegate altogether and (with my references removed),

  • clean all targets
  • restart XCode

So far my app still fails with the same error. Any ideas on how to troubleshoot this one?