Terminating app due to uncaught exception ‘NSInvalid Unarchive Operation Exception’, reason: ‘Could not instantiate class named MKMapView’

Terminating app due to uncaught exception ‘NSInvalidUnarchiveOperationException’, reason: ‘Could not instantiate class named MKMapView’

  • Above error occur if you not assign map from the storyboard
  • or you not ‘import mapkit’
  1. add framework mapkit.
  2. import mapkit.
  3. Assign MapView to the viewcontroller

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *