Installation
Add the SDK via Swift Package Manager (SPM). CocoaPods is not part of the current setup.- In Xcode, choose File → Add Packages.
- Enter the Klaritics iOS SDK repository URL.
- Add the package to your application target.
Initialization
Callinitialize before logging any events, typically in your AppDelegate or app entry point:
appId and serverHost are provided.
Logging events
UselogAppEvent to send standard analytics events. The method accepts an event name and an optional dictionary of additional information.
Important naming note
The client-facing class isKlaritics. Do not use KlariticsSDK, KlariticsCore, or any other variant in your application code.