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
KountSDKUniversalLibraryfolder from the SDK inside the folder structure of your iOS project. -
From the
KountSDKUniversalLibrary, copylibKountSDK.aand add it to your project. -
Add
KounSDKUniversalLibraryto header search paths. -
Go to Project Target > Build Settings.
-
Add the Header Search Path as
$(PROJECT_DIR)/KountSDKUniversalLibrary. -
Add the Library Search Path as
$(PROJECT_DIR/KountSDKUniversalLibrary.
Once you have added the KountSDKUniversalLibrary to the project, continue to the second step (runtime implementation).
-
For Objective-C invocation, refer to Invoke the Device Data Collector from an Objective-C App using iOS SDK v6.x.x.
-
For Swift invocation, refer to Invoke the Device Data Collector from a Swift App using iOS SDK v6.x.x.