Document Maps SDK for iOS Guides Set Up Your Project App Store Submission

App Store Submission

The Base SDK V1.2.0 (and later versions) introduces IDFA support, which may cause your app to be rejected during App Store review. Please read the following information carefully.

Why IDFA Is Introduced

IDFA enables more accurate user identification, helping us better track issues you may encounter while using the SDK and ensuring SDK stability. If your app integrates advertising services, we recommend using the online version of the SDK.

If your app does not integrate any advertising services but still needs to track ad-driven activations, you can continue using the online version of the SDK. See the sections below for details.

Selecting IDFA Options During App Store Review

When submitting your app to the App Store, you will need to select the appropriate IDFA options, as shown in the image below:

App Store Connect IDFA options selection screen showing the four checkbox items for an AMAP iOS SDK app

What Each Option Means

1. Serve advertisements within the app

Select this option if your app displays advertisements.

2. Attribute this app installation to a previously served specific advertisement

Select this option if you use third-party tools to track ad-driven installations, even if your app does not display ads.

3. Attribute an action taken within this app to a previously served specific advertisement

Select this option if you use third-party tools to track ad-driven user actions (e.g., post-install events).

4. The "Limit Ad Tracking" setting in iOS

Select this option to confirm the purpose of using IDFA in your app. This option is required whenever you access IDFA.

Resolving App Store Rejection

1. If your app only displays ads and does not track ad-driven activations, select options 1 and 4.

2. If your app does not display ads but still accesses IDFA, we recommend selecting options 2 and 4.

3. Ensure that the Foundation SDK version you integrate is V1.3.4 or later.

Downloading the IDFA-Free Base SDK

If you prefer not to use the IDFA-enabled version of the SDK, you can download the IDFA-free version.

Alternatively, you can use CocoaPods:

First, edit your Podfile:

platform :ios, '9.0'
target 'YourProjectName' do
  pod 'AMapLocation-NO-IDFA' # IDFA-free Location SDK
end

If you use multiple SDKs from our platform, edit the Podfile as follows:

target 'YourProjectName' do
  pod 'AMap2DMap-NO-IDFA'
  pod 'AMapSearch-NO-IDFA'
  pod 'AMapLocation-NO-IDFA'
end

After saving the file, run the following command:

$ pod install