iOS Mediation Table

Step 2: Adding iOS Dependencies

Cocoapods

CocoaPods is a dependency manager for iOS projects that simplifies the integration and management of third-party libraries and frameworks. The pod repo update && pod installcommand updates the CocoaPods repository and installs the necessary dependencies to integrate them into your project.

  1. At the root of the Podfile insert the following:
  1. Run the following command:
pod repo update && pod install

 

Manual Download

If you prefer to integrate the mediated network by manually downloading the frameworks, do the following:

  1. Download the DT FairBid SDK.

  2. Extract the downloaded file.

  3. Drag and drop FairBidSDK.framework into your Xcode project.

  4. Select the Copy items if needed checkbox.

  5. From the General tab of your Xcode project's target settings, ensure that the FairBidSDK.framework is embedded in your app.

  6. From the Build Phases tab, click the plus sign (+), and select the New Run Script Phase checkbox.

  7. Paste the following snippet into the script editor field:

bash ${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/FairBidSDK.framework/strip-frameworks.sh
  1. Add the following imports to your Xcode project:

Some networks might require additional frameworks and may appear below.

You may also need to configure additional linker flags if specified by the SDK documentation. This ensures that the correct libraries are linked during the build process.

Step 3: Adding SKAdNetwork IDs

DT provides a list of SKAdNetwork IDs required for your app, including IDs for DT Exchange DSPs and any selected mediated networks from Step 1.

Add the provided SKAdNetwork IDs to your app’s info.plist file.

Important

The SKAdNetwork ID list may change over time. To ensure you have the most current information, DT recommends integrating the SKAdNetwork ID Auto Updater Tool into your build.

Back to Top ⇧