Installing the TV SDK¶
Requirements¶
- tvOS 11.0 or higher
Using CocoaPods¶
-
On your Podfile, add the following line:
platform :tvos, '11.0' use_frameworks! pod 'UsercentricsUI', '2.11.3'
-
On the root directory of your project, run the following command to install the pod.
pod install
-
Open your .xcworkspace file.
- 🚀 You are ready to start the SDK integration.
Using Swift Package Manager (SPM)¶
-
On Xcode, Select File > Swift Packages > Add Package Dependency.
-
Enter the package repository URLs:
https://bitbucket.org/usercentricscode/usercentrics-spm-sdk https://bitbucket.org/usercentricscode/usercentrics-spm-ui
-
Select the version you would like to use. We recommend sticking to "Up to Next Major" with "2.11.3" as minor version.
- 🚀 You are ready to start the SDK integration.