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.
Andreas Buff fc5efea412 MIME-19 adds test reproducing the issue 3 months ago
Interface IOSAD-214 Update code. 3 months ago
pEpMimeObjCAdapter.xcodeproj MIME-19 adds test reproducing the issue 3 months ago
pEpMimeObjCAdapter.xcworkspace adds workspace, copy artefacts script, readme 5 months ago
pEpMimeObjCAdapterTests_macOS MIME-19 adds test reproducing the issue 3 months ago
.gitignore initial commit 5 months ago updates readme 3 months ago


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