The iOS/tvOS tracker supports iOS 9.0 and tvOS 9.0.
Initialization
Install the Conviva library
Download and unzip the package from Downloads. During the build phase, add ConvivaAppAnalytics.xcframework to Link Binary with Libraries section in xcode. This package contains the frameworks for both, iOS and tvOS.
Link the following system frameworks to Link Binary with Libraries section in xcode:
UIKit
Foundation
CoreTelephony (iOS only)
FMDB (version 2.7 or above)
In Other Linker Flags section in Xcode, add "-ObjC".
To refer to the Conviva classes from your source code, add the following import statements:
import ConvivaAppAnalytics
@import ConvivaAppAnalytics;
Initialize the top level object
Initialize the top level CATAppAnalytics object.
var tracker = CATAppAnalytics.createTracker(customerKey:
"<YOUR_CUSTOMER_KEY_ADVISED_BY_Conviva>", appName:
"<YOUR_APP_NAME_ADVISED_BY_Conviva>")