iOS

circle-info

Current SDK Version: 3.66.1

DT Offer Wall and DT FairBid are integrated through the same SDK: the DT FairBid SDK. Apps with an existing FairBid integration can proceed directly to the Offer Wall Configuration.

Prerequisites

PLATFORM
REQUIREMENT

Xcode

14.1 and later.

iOS

iOS 13 and later.

Integration

Digital Turbine supports both CocoaPods and manual downloads to integrate the SDK.

CocoaPods

Add the following line to your Podfile and run the pod install command:

Ruby
pod 'FairBidSDK', '~> 3.66.1'

Manual Download

↓ iOS SDK 3.66.1
  1. Download and extract the DT FairBid SDK.

  2. Drag and drop FairBidSDK.xcframework to your project. The Choose options for adding these files window appears.

Configuring Your Xcode Project

Configuration of the Xcode project involves the following steps:

Importing System Frameworks

If the Enable Modules option (CLANG_ENABLE_MODULES) is active in the project's Build Settings, there's no need to import any frameworks manually.

Import the DT FairBid framework umbrella header in your code, for example, in the AppDelegate class:

If you cannot enable modules, you might need to add the following frameworks to the Frameworks, Libraries and Embedded Content section in Xcode:

  • AdSupport

  • CoreGraphics

  • CoreLocation

  • CoreTelephony

  • MediaPlayer

  • MessageUI

  • MobileCoreServices

  • QuartzCore

  • Security

  • StoreKit

  • SystemConfiguration

Disable Multitasking

Select the Requires full-screen checkbox from the General tab of your Xcode project's target settings page. This disables multitasking support, which must be disabled for ads to be able to set the orientation of their views.

Disable the Linked Products Build Flag

By default, Xcode strips libraries linked to the project. This may result in symbols missing for some ad networks, and subsequently, the DT FairBid SDK may not behave as expected.

To avoid this, set Strip Linked Products (STRIP_INSTALLED_PRODUCT) build flag to No.

App Transport Security

App Transport Security (ATS) is an Apple security feature that enforces HTTPS connections. Make sure you disable this by setting the Allow Arbitrary Loads property to Yes so that you get the HTTP traffic as well. For more information, see ATS Configuration for DT Exchange SDK.

Last updated