Could not instantiate class named MKMapView

After using the MapKit View with iOS and Objective-C/Swift you can receive a runtime error stating “Could not instantiate class named MKMapView“. The reason is because you haven’t enabled the Maps capability and linked to MapKit.Framework.

Within Xcode 6 this can be resolved by turning this capability on in the screen below

XCode 6 - MapKit.Framework

Leave a Reply

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