Add the Audience Network SDK to your iOS App

This guide explains how to include the Audience Network SDK in your iOS app so that you can call Audience Network APIs. The preferred method is to use CocoaPods to manage the dependencies; however, download locations for manual integration are also provided.

CocoaPods (Preferred Download Method)

Add the following line to your project's Podfile.

pod 'FBAudienceNetwork'

Run the following command.

pod install

Manual Download

If using CocoaPods is not an option, you can download the Audience Network SDK from one of the locations in the following table.

After you download the Audience Network SDK, do the following steps to complete the integration:

  1. Download FBSDKCoreKit_Basics from GitHub.
  2. Open your project in XCode.
  3. Drag and drop both FBAudienceNetwork.framework and FBSDKCoreKit.framework into your project in XCode.