iOS
Current SDK Version: 3.66.1
DT FairBid and DT Offer Wall are integrated through the same SDK: the DT FairBid SDK.
Prerequisites
Xcode 14.1 or later
iOS 13 orlater
Integration
There are three frameworks required to incorporate into your app:
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:
pod 'FairBidSDK', '~ 3.66.1'Manual Download
Download and extract the DT FairBid SDK.
Drag and drop
FairBidSDK.xcframeworkto your project. The Choose options for adding these files window appears:

In the Action drop-down list, select Copy files to destination and click Finish.

Download the DTX iOS SDK FMPAdapter.
Drag and drop the
FMPAdapter.xcframeworkto your project. The Choose options for adding these files window appears:In the Action drop-down list, select Copy files to destination and click Finish.

Retrieve the
IASDKCore.frameworkfrom Integrating the iOS SDK and download the SDK manually.From
DTExchangeSDK/iOS/IASDKCore/IASDKCore.xcframework, drag and drop theIASDKCore.xcframeworkto your project. The Choose options for adding these files window appears:In the Action drop-down list, select Copy files to destination and click Finish.

From the General tab of your Xcode project's target settings page, ensure
DT FairBidSDK,FMPAdapter, andIASDKCoreframeworks are embedded into your app under Embed & Sign.

Configuring Your Xcode Project
Configuration of the Xcode projects involves the following steps.
Importing System Frameworks
If the Enable Modules (CLANG_ENABLE_MODULES) option 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:
AdSupportCoreGraphicsCoreLocationCoreTelephonyMediaPlayerMessageUIMobileCoreServicesQuartzCoreSecurityStoreKitSystemConfiguration
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) Settings 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.
Adding Third-Party SDKs
In addition to integrating the DT FairBid SDK you must integrate chosen third-party networks' SDKs into their app.
Set up your app in the network's dashboard and in the DT Console. For more information, see Setting Up DT FairBid.
Download the relevant network's SDK. For more information about supported networks and their SDKs, see Supported Networks.
You must add additional configurations for each third-party network.
These entries are found by selecting your third-party networks in the table.
The DT FairBid SDK automatically detects and initializes SDKs from third-party networks.
Once you've added all third-party SDKs and set up your app in the console, you can initialize the DT Fairbid SDK.
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.
Last updated
