Document Location 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, which may cause your application to be rejected during App Store review. Please read the following information carefully.

Why IDFA Was Introduced

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

If your application does not integrate any advertising services but still needs to track ad-driven installs, 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 for App Store review, you will see the IDFA options shown below:

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

What the Four Options Mean

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 a third-party tool to track ad-driven installs and other events, but your app does not display advertisements.

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

Select this option if you use a third-party tool to track ad-driven user actions and other events.

4. The "Limit Ad Tracking" setting in iOS

This option confirms the purpose for which your app uses IDFA. You must select this option if your app accesses IDFA.

Resolving App Store Rejection

1. If your app integrates advertisements but does not track ad-driven installs, select options 1 and 4.

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

Downloading the Base SDK Without IDFA

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

Alternatively, install it via CocoaPods:

1. Edit your Podfile:

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

2. Save the file and run the following command:

$ pod install

If the SDK cannot be updated, run pod repo update to refresh your local CocoaPods repository.