- Latest stable Xcode
Together with the token, you will receive a configuration file
config.json which contains the required SDK resources defined by the token. Read more about this in Repack your SDK archive (minify SDK size) section.
With the client token, you will also receive the Banuba SDK archive for iOS which contains:
- Banuba Effect Player XCFramework (
- BanubaSdk Xcode project,
- Effect examples located under
SDK release archive contains all SDK resources by default. They may consume more disk space in the ready build.
To reduce the SDK size, please use the
sdk_repacking.py script provided with the SDK archive.
Please refer to SDK repacking readme in your SDK archive or our video guide for more information and usage example.
- By default Xcode provide
arm64, armv7architectures as default. Since Banuba SDK supports only
arm64, x86_64you should change you valid architectures and add
arm64as excluded for
Any iOS Simulator SDKin order to run Banuba SDK on simulators.
- In your project create
New Groupwith name
Frameworks. Then, open this folder in Finder and copy the following files from your SDK archive:
Frameworksfolder in Finder to your Xcode project.
Generalof your project add
Frameworks, Libraries, and Embedded Content. Here this frameworks should be marked as
Embed & Sign.
BanubaEffectPlayer.xcframeworkand mark it as
Do Not Embed.
Build Phasesof your project add BanubaSdk as a dependencie.
- Make sure that you have correct
Framework Search Pathto
Frameworksfolder in your project and
- Now you can run your project with the Banuba SDK on your device or simulator.