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

libaom + Xcode

CI Status Version License Platform Carthage compatible SwiftPM compatible

A wrapper for libaom + Xcode project. This enables Carthage && SwiftPM support.

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


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


  • v1.0.2 is tagged with upstream 1.0.0-errata1-avif
  • v1.0.1 && v1.0.0 is tagged with upstream 3563b12b hash, which used by libheif dependency (no huge difference between 1.0.0-errata1)

From v1.0.1, 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, use the pre-build static library in lib from 1.0.0 release. Which use the CMake and NASM with the full assembly optimization.



libaom is (via this repo) available through Carthage.

github "SDWebImage/libaom-Xcode"


libaom is available through CocoaPods.

pod 'libaom'


libaom is available through Swift Package Manager.

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


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

For Swift Package Manager user, it's recommended to use the modular import instead of C headers.

  • Objective-C
@import libaom;
// or if you don't use module
#import <aom/aom.h>
  • Swift
import libaom


libaom is available under the Alliance for Open Media Patent License.


Stars: 6
Last commit: 1 week 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