Domanda

Undefined symbols for architecture i386: "_OBJC_CLASS_$_MKMapView"

  Undefined symbols for architecture i386:          "_OBJC_CLASS_$_MKMapView"
È stato utile?

Soluzione

You have included the header, so you can compile your code, but you are not linking the binary library, so you can't complete the build process.

                           Follow these steps 

-1.In your target settings, go to Build Phases
- 2.And in the "Link with binary libraries" section, add MapKit.framework .

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top