Skip to main content

Installation with CocoaPods

Learn the CocoaPods Getting Started Guide if you are new to CocoaPods.

info

It is advised to use the latest version of CocoaPods. Please, check your version with pod --version and upgrade if necessary.

The List of the required Video Editor dependencies is present in the sample project's Podfile.

Complete the following steps to get the Video Editor SDK dependencies using CocoaPods:

  1. install CocoaPods using Homebrew:
    brew install cocoapods 
  2. initialize the pods in your project folder:
    pod init
  3. add the necessary frameworks and podspec sources to the Podfile of your project:
    source 'https://cdn.cocoapods.org/'
    source 'https://github.com/Banuba/specs.git'
    source 'https://github.com/sdk-banuba/banuba-sdk-podspecs.git'

    banuba_sdk_version = '1.37.0'

    pod 'BanubaARCloudSDK', banuba_sdk_version # optional
    pod 'BanubaVideoEditorSDK', banuba_sdk_version
    pod 'BanubaAudioBrowserSDK', banuba_sdk_version # optional
    pod 'BanubaSDKSimple', banuba_sdk_version # if FaceAR is not present
    pod 'BanubaSDK', banuba_sdk_version # if FaceAR is used
    pod 'BanubaSDKServicing', banuba_sdk_version
    pod 'VideoEditor', banuba_sdk_version
    pod 'BanubaUtilities', banuba_sdk_version
    pod 'BanubaVideoEditorGallerySDK', banuba_sdk_version # optional
    pod 'BanubaLicenseServicingSDK', banuba_sdk_version

    pod 'BNBLicenseUtils', banuba_sdk_version

    pod 'VEExportSDK', banuba_sdk_version
    pod 'VEEffectsSDK', banuba_sdk_version
    pod 'VEPlaybackSDK', banuba_sdk_version
  4. install the Video Editor SDK pods:
    pod install --repo-update
  5. open Example.xcworkspace in Xcode and run the project.