Adapter for libpepmime, offering ObjC API.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.7 KiB


Converts MIME (string or data) to and from PEPMessage.

Note: You have to update all PEPIdentities (from, to, cc, ...) with available data (userID, isOwn, ...) in a PEPMessage created from MIME.

Get & Install Dependencies

Install Tools

sudo port install git

sudo port install gmake
sudo port install autoconf
sudo port install libtool
sudo port install automake
sudo port install asn1c
sudo port install wget
sudo port install gsed
pushd ~
git clone

Install Rust Toolchain

xcode-select --install
curl -sSf | sh

add this to ~/.profile (or ~/.zprofile, depending on the shell you are using):

source $HOME/.cargo/env
export PATH="$HOME/.cargo/bin:$PATH"

restart your console and run:

sudo port install pkgconfig
rustup toolchain install nightly
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin

Get pEp Code

mkdir src_pEpMime4macOS
cd src_pEpMime4macOS

git clone
git clone
git clone

git clone


Using Xcode

open pEpMimeObjCAdapter/pEpMimeObjCAdapter.xcworkspace/

Build scheme "pEpMimeObjCAdapter_macOS".

Using terminal

xcodebuild -workspace "pEpMimeObjCAdapter.xcworkspace" -scheme "pEpMimeObjCAdapter_macOS" -configuration [RELEASE|DEBUG]

Build Dir & Build Artefacts

You can find the build artefacts in the pEpMimeObjCAdapter/build folder