Enable the AdSupport Framework

Some Analytics features, such as audiences and campaign attribution, and some user properties, such as Age and Interests, require the AdSupport framework to be enabled. Without this framework, Analytics cannot collect information needed for these features to function properly.

To enable the AdSupport framework:

  1. In your Xcode project, select your project's target.
  2. Select the General tab for your target.
  3. Expand the Linked Frameworks and Libraries section.
  4. Click + to add a framework.
  5. Select AdSupport.framework.
  6. Add the -ObjC linker flag to your project's build settings under Other Linker Flags.

Before submitting your app for review, ensure your app complies with IDFA usage guidelines.