I'm putting MapKit into my iPhone/iPad app, and the link stage is giving me an error I don't understand. When I direct it to the Simulator all is well. When I choose the Device I get a link error,
"_OBJC_CLASS_$_MKMapView", referenced from: objc-class-ref-to-MKMapView in MapViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status The offending code is this line, mapView = [[MKMapView alloc] initWithFrame:screenRect]; If I remove it, there is no link error (and no map either, of course). I'm sure I am using compatible SDKs, and the Simulator links and runs as I expect. Does anyone recognize this? David _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com