iOS
Last updated
Current SDK Version: 3.67.0
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.
Xcode
14.1 and later.
iOS
iOS 13 and later.
Digital Turbine supports both CocoaPods and manual downloads to integrate the SDK.
Add the following line to your Podfile and run the pod install command:
pod 'FairBidSDK', '~> 3.67.0'Download and extract the DT FairBid SDK.
Drag and drop FairBidSDK.xcframework to your project. The Choose options for adding these files window appears.
Configuration of the Xcode project involves the following steps:
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
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.
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 (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
#import <FairBidSDK/FairBidSDK.h>import FairBidSDK
