While not recommended, you can integrate the Device Data Collector (DDC) as a static library in your XCode project.
-
Download the kount-ios-sdk from GitHub, and then extract the contents.
-
Place the
KountDataCollectorUniversalLibraryfolder from the SDK inside the folder structure of your iOS project. -
From the
KountDataCollectorUniversalLibrary, copylibKountDataCollector.aand add it to your project. -
Add
KountDataCollectorUniversalLibraryto header search paths. -
Go to Project Target > Build Settings > Header Search Paths.
-
Add the Header Search Path as
$(PROJECT_DIR)/KountDataCollectorUniversalLibrary.
Once you have added the KountDataCollectorUniversalLibrary to the project, continue to the second step (runtime implementation).
-
For Objective-C invocation, refer to How to Invoke the Device Data Collector from an Objective-C App using iOS SDK v4.x.x.
-
For Swift invocation, refer to How to Invoke the Device Data Collector from a Swift App using iOS SDK v4.x.x.