The ConvivaSDK Framework supports cocoapods and manual installation. The library is delivered as Static Framework and deployment is supported on iOS 8 and above.
For customers who have already integrated pre 2.141.0 version of Conviva library, we recommend them to migrate to the latest release 2.141.0. Please follow these steps to migrate to 2.141.0 version
- Remove libiOSSdkCore.a from “Link Binary with Libraries” of xcode
- Remove the following header file from your application and follow either cocoapods or manual way of installation.
- #import "CISSystemInterfaceProtocol.h"
- #import "CISSystemFactoryProtocol.h"
- #import "CISSystemSettings.h"
- #import "CISClientSettingProtocol.h"
- #import "CISClientProtocol.h"
- #import "IOSSystemInterfaceFactory.h"
- #import "CISSystemFactoryCreator.h"
- #import "CISClientSettingCreator.h"
- #import "CISClientCreator.h"
- #import "CISConstants.h"
- #import "CISPlayerStateManagerProtocol.h"
Add the following line to your pod file and run 'pod install'
pod 'ConvivaSDK','4.0.1'
To add the ConvivaSDK library to your project manually:
-
Download the latest ConvivaSDK here
-
Unzip the package and add ConvivaSDK.framework to “Link Binary with Libraries” under build phase. The package contains framework for both iOS and tvOS. Please make sure to include right framework for your platform.
-
Add the following system frameworks to “Link Binary with Libraries” section in xcode.
- CoreMedia
- SystemConfiguration
- MobileCoreServices
- CoreTelephony (iOS only)
-
Add “-ObjC” to “Other Linker Flags” of Xcode.
Add the following import statements to your source code to refer Conviva classes.
* @import ConvivaSDK; ( Objective-C)
* import ConvivaSDK (Swift)
- Refer https://community.conviva.com/ for integration guidelines.
- Refer https://convivasdk.github.io/Doc/ for API documentation.