macOS & iOS Requirements

Unless the "fips" feature is enabled, building aws-lc-rs v1.7.0 (or later) for macOS targets should only require a C/C++ compiler. Builds for iOS will also require CMake.

Platformdefaultfipsbindgen required?
aarch64-apple-darwinC/C++ CompilerC/C++ Compiler, CMake & GoNo
x86_64-apple-darwinC/C++ CompilerC/C++ Compiler, CMake & GoNo
aarch64-apple-iosC/C++ Compiler & CMakeNot SupportedYes
x86_64-apple-iosC/C++ Compiler & CMakeNot SupportedYes

C/C++ Compiler

Install Command Line Tools for Xcode which a provides a C/C++ compiler environment (LLVM).

CMake

MacPorts

sudo port install cmake

Homebrew

brew install cmake

Bindgen

On most platforms, bindgen requires libclang or llvm package to be installed. See the requirements page in The bindgen User Guide for instructions.

MacPorts

sudo port install clang

Homebrew

brew install llvm

bindgen-cli

cargo install --force --locked bindgen-cli

Troubleshooting

See our troubleshooting section.