Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"_OBJC_CLASS_$_MKAnnotationView", referenced from: ERROR

.framework/MapKit, file was built for i386 which is not the architecture being linked (armv6) Undefined symbols: "_OBJC_CLASS_$_MKAnnotationView", referenced from: objc-class-ref-to-MKAnnotationView in MapViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status

I am getting this error when building on my device even though I added the mapkit and corelocation frameworks. Does anyone know how i can solve this problem?

like image 724
Alex Stelea Avatar asked Nov 18 '10 17:11

Alex Stelea


1 Answers

Add the framework MapKit to your project.

like image 191
MathieuF Avatar answered Oct 17 '22 04:10

MathieuF