-
Notifications
You must be signed in to change notification settings - Fork 636
Importing macOS Frameworks
The recommended method to install ffmpeg-kit
in a macOS
project is to use Cocoapods
.
Adding ffmpeg-kit
dependency to the project's Podfile
and running pod install
is enough to complete the installation.
Cocoapods
will download necessary libraries and update the project files for you.
If Cocoapods
is not available, or you don't want to use Cocoapods
in your project, you can install macOS
frameworks
using instructions below.
1. Download a macOS
framework package from Releases page.
-
Note that
Main
releases publishxcframework
packages andLTS
releases publishframework
packages -
macOS
framework releases are files that include-macos-
in their name, e.g.,ffmpeg-kit-min-4.4-macos-xcframework.zip
2. Extract the zip package to a temporary location and copy all frameworks (directories with .xcframework
or .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
.
- Make sure that
Framework Search Path
forPROJECT_DIR
is set torecursive
inXcode
- Validate that
ffmpeg-kit
frameworks listed underGeneral
->Frameworks, Libraries and Embedded Content
are not marked asEmbed & Sign
. The correct setting for them isDo Not Embed
4. Add libbz2
, libc++
, libiconv
, libz
, AudioToolbox
, AVKit
, CoreAudio
, CoreImage
, CoreMedia
1, OpenCL
, 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