Phonegap / Cordova 2.4 with MapKit
Posted: February 11, 2013To get MapKit to compile correctly with 2.4, I had to do the following:
In MapKit.h
//#ifdef CORDOVA_FRAMEWORK
// #import <Cordova/CDVPlugin.h>
//#else
// #import "CDVPlugin.h"
//#endif
#import <Cordova/CDVPlugin.h>
In MapKit.m