Enabling Maps capability in Xcode
Configure your routing app to support providing directions.
Overview
A routing app, an iOS app that provides point-to-point directions, requires Maps capability to make those directions available to Maps and other apps. Maps capability allows an app to provide specific directions beyond what the Maps app supports, including subway routes, hiking trails, and bike paths. Use Xcode to enable Maps capability and select the supported modes.
Add Maps Capability to Your Project
Open your project with Xcode. In the Project navigator, select your project.
Choose the target for the app in the Targets section of the outline view.
Click the Signing & Capabilities tab in the project editor.
In the toolbar, click the Library button (+) to open the Capabilities library and select Maps capability.
Select one or more routing modes using the checkboxes displayed under the Maps capability.
The screenshot below shows the Maps capability:
[Image]
For more information on enabling capabilities in your app, see Adding capabilities to your app. For more information on providing directions in your app, see MKDirections.