Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Using Universal Binaries on tvOS

Taner Şener edited this page Mar 19, 2021 · 3 revisions

FFmpegKit LTS releases publish tvOS universal binaries of all packages. You can import them into your project using instructions below.


1. Download a tvOS universal binary package from Releases page and extract it.

  • tvOS universal binary packages are files ending with tvos-static-universal postfix, e.g., ffmpeg-kit-min-4.4.LTS-tvos-static-universal.zip

2. Drag & drop extracted ffmpeg-kit-tvos-<package-name>-universal folder to your project root in Xcode.


3. If ffmpeg-kit-tvos-<package-name>-universal folder is not copied to your project directory (outside Xcode), copy it manually.


4. Add $(PROJECT_DIR)/ffmpeg-kit-tvos-<package-name>-universal/include to Build Settings -> Header Search Paths.


5. Add $(PROJECT_DIR)/ffmpeg-kit-tvos-<package-name>-universal/lib to Build Settings -> Library Search Paths.


6. Import library headers without any prefix.

#import <FFmpegKit.h>
#import <FFprobeKit.h>
#import <FFmpegKitConfig.h>

7. Add all shared/static libraries under ffmpeg-kit-tvos-<package-name>-universal/lib to Build Phases -> Link Binary With Libraries section.


8. Add libbz2, libc++, libiconv, libz, VideoToolbox1 and Accelerate2 system libraries/frameworks to Build Phases -> Link Binary With Libraries section.

1 - Required by Main releases

2 - Required when rubberband is enabled

Clone this wiki locally