Skip to content

Ben Hall's Blog

I don't know darling, I'm doing my work

Start Learning Docker using Interactive Browser-Based Labs. Sign Up today at katacoda.com
  • Email [email protected]
  • @ben_hall on Twitter
  • Ocelot Uproar (My Company)
  • GitHub
  • Slideshare
  • Testing ASP.net Book

Category: Ocelot Uproar

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

Posted on January 6, 2015Categories iOS, Ocelot UproarTags SwiftLeave a comment