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
KountDataCollectorUniversalLibrary
folder from the SDK inside the folder structure of your iOS project. -
From the
KountDataCollectorUniversalLibrary
, copylibKountDataCollector.a
and add it to your project. -
Add
KountDataCollectorUniversalLibrary
to 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 the iOS SDK.
-
For Swift invocation, refer to How to Invoke the Device Data Collector from a Swift App using iOS SDK.