Skip to main content

Installation with Swift Package Manager

note

The following guide is compatible with the VE SDK v1.31.3 and newer. If you are looking for a way to install v1.31.2 or older with SPM, please, visit the legacy docs

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

The integration of the VE SDK via SPM is demonstrated in the spm branch of our native sample.

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

  1. open App project and navigate to the Package Dependencies tab;
  2. for every package that needs to be installed click the plus button and type its repo url;
  3. choose Exact Version and type the newest SDK version.

Mandatory modules

The following modules must be installed in all cases:

Package nameGitHub link
BanubaVideoEditorSDK-iOShttps://github.com/Banuba/BanubaVideoEditorSDK-iOS

If you are not using the Face AR SDK together with the VE, you must add one additional module:

Package nameGitHub link
BanubaSDKSimple-IOShttps://github.com/Banuba/BanubaSDKSimple-IOS

Face AR interoperation modules

If your license includes the Face AR SDK, please, add the additional modules listed below:

Package nameGitHub link
BanubaSDK-iOShttps://github.com/Banuba/BanubaSDK-iOS

The Face AR packages (BNB***) hosted by the sdk-banuba account follow their own versioning. The following table specifies the mapping between the compatible VE and Face AR versions. Please, make sure that you specify the correct Face AR version, otherwise run-time incompatibilities may arise leading to crashes:

Video Editor SDK versionsCompatible FaceAR SDK version
1.39.0, 1.40.01.16.1
1.38.11.15.2
1.38.0, 1.37.0, 1.36.61.14.2
1.36.21.14.1
1.36.01.14.0
1.35.11.12.0
1.35.01.11.1
1.34.1, 1.34.0, 1.33.3, 1.33.2, 1.33.11.10.1
1.33.01.9.3
1.32.2, 1.32.1, 1.32.01.9.1

If your license includes AR Cloud, please, also add the following package:

Package nameGitHub link
BanubaARCloudSDK-IOShttps://github.com/Banuba/BanubaARCloudSDK-IOS

Optional modules

You may skip the module below only if your app provides custom implementations of Audio Browser. Otherwise make sure to add it to your project:

Package nameGitHub link
BanubaAudioBrowserSDK-iOShttps://github.com/Banuba/BanubaAudioBrowserSDK-iOS