Home

Awesome

Wire

Wire logo

This repository is part of the source code of Wire. You can find more information at wire.com or by contacting opensource@wire.com.

You can find the published source code at github.com/wireapp.

For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.

# Cryptobox for iOS

This project provides cross-compiled binaries of cryptobox-c for iOS, currently only in the form of static libraries.

Building

A Rust cross-compiler (1.25.X or later) is needed that supports the following iOS architectures:

It is recommended to use rustup to manage the necessary compiler toolchains. Using rustup, the following commands will install the necessary binaries for cross-compiling to above architectures:

rustup target add aarch64-apple-ios
rustup target add x86_64-apple-ios
rustup target add aarch64-apple-ios-sim

Alternatively, for instructions on how to build a compiler from source that supports all the necessary architectures, please refer to the Rust Wiki.

To perform the build:

make dist

Note: Link against the following native artifacts when linking against the libcryptobox.a static library. The order and any duplication can be significant on some platforms, and so may need to be preserved: