Prepare now for iOS 14 changes
All publishers will need to use Audience Network SDK 6.2.1+ in order to monetize with iOS 14 users when Apple introduces their new requirements. Within this version there are two requirements:
Read more on our Facebook for Developers post
Upgrade to the latest version of the SDK before onboarding your app for monetization.
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.
Add the following line to your project's Podfile.
pod 'FBAudienceNetwork'
Run the following command.
pod install
If using CocoaPods is not an option, you can download the Audience Network SDK from one of the locations in the following table.
Package | Date | Change Log |
---|---|---|
April 20, 2021 | ||
March 23, 2021 | ||
February 22, 2021 | ||
January 11, 2021 |
After you download the Audience Network SDK, do the following steps to complete the integration: