“_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?

 

Add the framework MapKit to your project.

猜你喜欢

转载自duchengjiu.iteye.com/blog/1894998