Skip to content

Install

rohitphogat19 edited this page Jul 9, 2021 · 4 revisions

Install LiveBroadcast SDK

Step 1: Create an application on Channelize.io

To initialise SDK you need to pass the Public Key of your application, which you will get from the Channelize.io dashboard under My Account > Application Settings for the respective application.

Step 2: Install SDK

You can install LiveBroadcast SDK through CocoaPods.

With CocoaPods

If you have already integrated CocoaPods in your project just add below pod to your podfile.

pod 'LiveBroadcast'

For developers who had never used CocoaPods for an Xcode project, open a terminal window, move to your project directory, and then create a Podfile by running the below command:

pod init

Add the below lines to the Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'

target 'YourProjectName' do
  use_frameworks!
  pod 'LiveBroadcast'
end

Now install the pods using the command:

pod install --repo-update --verbose

Step 3: Use SDK in Project

Now use all classes and methods with the import statement.

import LiveBroadcast