Integrate the Device Data Collector Swift Package into your iOS application to collect additional end-user information. This assists in detecting suspicious devices and preventing fraud.
Software for this integration can be found in the GitHub repository.
Note
Make sure you select version 5.x.x.
-
Open your iOS application project, select the project, and then select the Swift Packages (for Xcode version 12 or earlier) or select Add Dependency (for Xcode version 13 or later).
-
Select Plus (+) , and then select Choose Package Repository.
-
Paste the URL
https://github.com/Kount/kount-swift-ios-swift-packageinto the search bar, and then select Next. -
From Choose Package Options, depending on your Xcode version, select Version, Exact Version, or Branch.
-
For Version (or Exact Version), select the current version of the SDK.
-
For Branch, select master branch.
-
-
Select Next.
-
From the Add Package to <project-name> prompt, select KountDataCollectorPackage.
-
Select Finish.
Go to Project Navigator and verify that the KountDataCollectorPackage is shown in the Swift Package Dependencies module for Xcode 12 or earlier and in Package Dependencies for Xcode 13 or later.
Once you have added the KountDataCollector to your project, continue to the second step (runtime DDC invocation).
Go to How to Invoke the Device Data Collector from a Swift App using iOS SDK v5.x.x for Swift invocation.