Swiftpack.co -  SDWebImage/libdav1d-Xcode as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A wrapper for libdav1d + Xcode project. Support Carthage && CocoaPods.
.package(url: "https://github.com/SDWebImage/libdav1d-Xcode.git", from: "0.8.2")

libdav1d + Xcode

CI Status Version License Platform Carthage compatible SwiftPM compatible

A wrapper for libdav1d + Xcode project. This enables Carthage support

This repo also including the CocoaPods's spec file to use libdav1d.


  • iOS 8
  • macOS 10.10
  • tvOS 9.0
  • watchOS 2.0


This Carthage and CocoaPods support, disable the architecture specify assembly code, and use the pure C implementation instead. This because both the lack support for CocoaPods and Xcode NASM compiler.

If you want the best performance for specify architecture, try to read the README from dav1d to build the pre-built with Meson and Ninja by your own.



libdav1d is (via this repo) available through Carthage.

github "SDWebImage/libdav1d-Xcode"


libdav1d is available through CocoaPods.

pod 'libdav1d'

Swift Package Manager (Xcode 11+)

libdav1d is available through Swift Package Manager.

let package = Package(
    dependencies: [
        .package(url: "https://github.com/SDWebImage/libdav1d-Xcode.git", from: "0.7")


Use libdav1d as you would normally, this is just a repo that adds an Xcode proj.


libdav1d is available under the BSD 2-Clause License.


Stars: 2
Last commit: 5 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API