Document Navigation SDK for iOS Guides Set Up Your Project Get an API Key

Get an API Key

How to Apply for a Key

Log in to the console, click the "Create credentials" button, and in the pop-up dialog box, proceed as follows: enter the API key name, select "iOS" as the associated service, and enter the security code Bundle ID.

AMAP Platform dashboard showing Keys and credentials page with Create credentials button to generate API keys

AMAP Platform API keys creation form showing iOS platform selection with Maps SDK, Location SDK and Navigation SDK for iOS available features and Bundle ID input

How to Obtain the Bundle Identifier

Below are two methods for obtaining the Bundle Identifier.

Method 1

Retrieve it programmatically using the following code:

NSString *bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier];

Method 2

In Xcode, navigate to the General tab and locate the Bundle Identifier, as shown in the figure below:

Xcode project General settings showing Bundle Identifier field highlighted in red under Identity section