Pregunta

Undefined symbols for architecture i386: "_OBJC_CLASS_$_MKMapView"

  Undefined symbols for architecture i386:          "_OBJC_CLASS_$_MKMapView"
¿Fue útil?

Solución

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 .

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top