# Do I need to add the MapKit Framework and turn on Maps in Capabilities in order to use MKMapView?

**URL:** <https://forums.kodeco.com/t/do-i-need-to-add-the-mapkit-framework-and-turn-on-maps-in-capabilities-in-order-to-use-mkmapview/35945>\
**Category:** iOS\
**Created:** [October 26, 2017, 2:39am UTC](https://forums.kodeco.com/t/do-i-need-to-add-the-mapkit-framework-and-turn-on-maps-in-capabilities-in-order-to-use-mkmapview/35945 "2017-10-26T02:39:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brower](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/brower/32/102075_2.png) [@brower](https://forums.kodeco.com/u/brower)\
**Post date:** [October 26, 2017, 2:39am UTC](https://forums.kodeco.com/t/do-i-need-to-add-the-mapkit-framework-and-turn-on-maps-in-capabilities-in-order-to-use-mkmapview/35945/1 "2017-10-26T02:39:09Z")

</div>

In iOS Apprentice for iOS 10 I was instructed to add the MapKit Framework and turn on Maps in Capabilities, but in MapKit Tutorial by Audrey Tam we didn’t have to do that? What is the difference between doing those things and not doing those things? Does it really matter whether I add the MapKit Framework and turn on Maps in Capabilities or not?

---

<div class="post-metadata">

**Author:** ![nikita\_gaydukov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/nikita_gaydukov/32/77683_2.png) [@nikita\_gaydukov](https://forums.kodeco.com/u/nikita_gaydukov)\
**Post date:** [October 26, 2017, 7:13pm UTC](https://forums.kodeco.com/t/do-i-need-to-add-the-mapkit-framework-and-turn-on-maps-in-capabilities-in-order-to-use-mkmapview/35945/2 "2017-10-26T19:13:50Z")

</div>

Hi @brower,

If you are using Swift you don’t have to add the MapKit framework in the build settings, but you need to import it in order to use it’s api:

`@import MapKit`

Regardless the capabilities settings, take a look at this answer: [Xcode/iOS: does Maps need to be switched on in Capabilities? - Stack Overflow](https://stackoverflow.com/questions/33857579/xcode-ios-does-maps-need-to-be-switched-on-in-capabilities)

Hope this is helpful

Nikita

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [April 10, 2018, 6:39pm UTC](https://forums.kodeco.com/t/do-i-need-to-add-the-mapkit-framework-and-turn-on-maps-in-capabilities-in-order-to-use-mkmapview/35945/3 "2018-04-10T18:39:12Z")

</div>

Closed on April 10, 2018, 6:39pm UTC

This topic was automatically closed after 166 days. New replies are no longer allowed.
