Pergunta

Undefined symbols for architecture i386: "_OBJC_CLASS_$_MKMapView"

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

Solução

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 em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top