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.
Platform | default | fips | bindgen required? |
---|---|---|---|
aarch64-apple-darwin | C/C++ Compiler | C/C++ Compiler, CMake & Go | No |
x86_64-apple-darwin | C/C++ Compiler | C/C++ Compiler, CMake & Go | No |
aarch64-apple-ios | C/C++ Compiler & CMake | Not Supported | Yes |
x86_64-apple-ios | C/C++ Compiler & CMake | Not Supported | Yes |
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.