I have an error where it crash the application when it is starting up. This is the error that i got:
*** Terminating app due to uncaught exception \'CALayerI
I know this question is not very recent but I just want to give an answer. Anyway, I'm guessing your mapView is of AGSMapView and you have initialized it this way:
self.mapView = [[[AGSMapView alloc] init] autorelease];
Now, I think the better, if not the only correct way, to initialize it is using initWithFrame. Though I'm not sure why, mapView is broken if you use init for the initialization.
Hope this helps.