'Could not instantiate class named MKMapView'

在view的xib里添加MKMapView地图时出现的错误信息:
Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named MKMapView'

解决问题方法:
target > Build Phases > Link Binary With Libraries 点击“+”号添加MakKit.frame

'Could not instantiate class named MKMapView'_第1张图片
Paste_Image.png

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