-
Notifications
You must be signed in to change notification settings - Fork 604
Using Universal Binaries on iOS
Current releases of FFmpegKit
do not publish universal binaries. v4.5.LTS
was the last release that published iOS
universal binaries of all packages. You can import them into your project using instructions below.
1. Download an iOS
universal binary package from Releases page and extract it.
-
iOS
universal binary packages are files ending withios-static-universal
postfix, e.g.,ffmpeg-kit-min-4.4.LTS-ios-static-universal.zip
2. Drag & drop extracted ffmpeg-kit-ios-<package-name>-universal
folder to your project root in Xcode
.
3. If ffmpeg-kit-ios-<package-name>-universal
folder is not copied to your project directory (outside Xcode
), copy it manually.
4. Add $(PROJECT_DIR)/ffmpeg-kit-ios-<package-name>-universal/include
to Build Settings
-> Header Search Paths
.
5. Add $(PROJECT_DIR)/ffmpeg-kit-ios-<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-ios-<package-name>-universal/lib
to Build Phases
-> Link Binary With Libraries
section.
8. Add libbz2
, libc++
, libiconv
, libz
, CoreMotion
1, VideoToolbox
and Accelerate
2 system libraries/frameworks to Build Phases
-> Link Binary With Libraries
section.
1 - Required by full
and full-gpl
packages
2 - Required when rubberband
is enabled
Copyright (c) 2021-2024 FFmpegKit
- Status
- Versions
- Changelog
- Project Layout
- API
- Using
- Building
- External Libraries
- Patents
- License