To integrate the latest Tapdaq SDK please make sure Deployment Target is 8.0 and Xcode 11.0 or above is used. In order to build an app using older Xcode versions bitcode must be disabled.
Open your project in Xcode, click on the project file, and select the target of the application, then click Build Phases.
Please add the following frameworks under the Link Binary With Libraries section or paste the following to the top of your AppDelegate.h/AppDelegate.swift) file:
The following needs to be added manually by drag and drop in the to the Link Binary With Libraries section of your project:
Drag the unzipped Tapdaq.framework into your project (under the Frameworks group). We recommend that you tick Copy items into destination group's folder. Next, add Tapdaq.framework to the Frameworks, Libraries and Embedded Content section of your project.
Navigate to the Build Settings of the app's target. Select the All tab. Search for the following entries and make sure all of them are set to or contain these values:
|Objective-C Automatic Reference Counting||YES|
|Enable Modules (C and Objective-C)||YES|
|Other Linker Flags||-ObjC|
Depending on the ad networks required, their SDKs should be added to the project.
These SDKs can be found within a folder with network's respective name in Network-SDKs directory.
All .a and .framework files should be added to Frameworks, Libraries and Embedded Content within General section of your project settings.
Please select either Embed & Sign or Embed Without Signing option in Embed column for frameworks listed below.
In Xcode versions prior to 11 these frameworks should be added to Embedded Binaries list in General section of your project settings.
In order for Tapdaq SDK to be able to access network SDKs, respective adapter has to be added to the project.
Tapdaq SDK will automatically detect if the ad network adapters are included in your project.
To add them, use the adapters provided in the zip, they will be located in the adapters folder. Drag and drop them to the Frameworks, Libraries and Embedded Content section under the General tab.
Some networks may require their resources to be added to the app.
If you wish to use one of the following adapters, please navigate to Network-SDKs and then to a folder named after the network you require, inside there is one or more .bundle file.
Please add these bundles to your Copy Bundle Resources section under Build Phases.
Navigate to the Build Settings of the app's target. Select the All tab. Search for the following entries and make sure all of them are set to YES:
If you are having any problems integrating, feel free to contact us on [email protected] and we will be more than happy to help.