Import CoreLocation.h instead of MapKit.h