How to Integrate the Device Data Collector into Mobile SDKs using iOS Universal Static Library (iOS SDK 5.x.x)

While not recommended, you can integrate the Device Data Collector (DDC) as a static library in your XCode project.

Integrating the Device Data Collector as a Static Library

  1. Download the kount-ios-sdk from GitHub, and then extract the contents.

  2. Place the KountSDKUniversalLibrary folder from the SDK inside the folder structure of your iOS project.

  3. From the KountSDKUniversalLibrary, copy libKountSDK.a and add it to your project.

  4. Go to Project Target > Build Settings > Library Search Path and verify that the KountSDKUniversalLibrary folder was added. If not, add it manually.

    $(PROJECT_DIR)/KountSDKUniversalLibrary
  5. Add KountSDKUniversalLibrary to Swift Compiler Search Paths.

  6. Go to Project Target > Build Settings > Swift Compiler - Search Paths.

  7. Add to the Import Path as:

     $(PROJECT_DIR)/KountSDKUniversalLibrary
  8. Go to Build Phases, then open Link Binary with Libraries.

  9. Select the plus sign (+), then add libKountSDK.a.

Once you have added the KountSDKUniversalLibrary to the project, continue to the second step (runtime implementation).

Go to How to Invoke the Device Data Collector from a Swift App using iOS SDK v5.x.x for Swift invocation.

Was this article helpful?
0 out of 0 found this helpful