Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Importing Frameworks

Taner Sener edited this page Jul 4, 2019 · 11 revisions

There are two options to use mobile-ffmpeg frameworks in an iOS / tvOS project.

The first and official way is to use Cocoapods. Adding mobile-ffmpeg dependency to the project Podfile and running pod install is enough to complete the installation. Cocoapods will download necessary libraries and update project files for you.

If Cocoapods is not available or it is not possible to use Cocoapods on your project, then you can install IOS frameworks yourself by applying the following steps.


1. Download an iOS framework package from Releases page. iOS framework releases are files ending with ios-framework postfix, e.g., mobile-ffmpeg-min-3.1-ios-framework.zip.


2. Extract zip package in a temporary location and copy all frameworks (directories with .framework extension) into your project folder.


3. Open your project in Xcode and drag & drop all frameworks from Finder's project folder into your project window inside Xcode.


4. Add libbz2, libc++, libz, CoreMotion1, GameController1, VideoToolbox2 system libraries/frameworks to Build Phases -> Link Binary With Libraries section.

1 - Required by full and full-gpl packages

2 - Required by v3.0 or later

Clone this wiki locally