Could not instantiate class named MKMapView

原因:没有导入MapKit框架
点击项目->General->Targets->Linked Framework and Libraries
加入 MapKit.framework框架,运行成功

你可能感兴趣的:(Could not instantiate class named MKMapView)