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.
Go to file
David Alarcon 3a7ba36cae
IOSAD-214 Build with the new objctypes name.
2 years ago
Interface IOSAD-214 Update code. 2 years ago
pEpMimeObjCAdapter.xcodeproj IOSAD-214 Build with the new objctypes name. 2 years ago
pEpMimeObjCAdapter.xcworkspace adds workspace, copy artefacts script, readme 2 years ago
pEpMimeObjCAdapterTests_macOS IOSAD-214 Update code. 2 years ago
.gitignore initial commit 2 years ago adds HowTo install Rust toolchain to readme 2 years 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
rustup target add aarch64-apple-darwin --toolchain nightly
rustup update

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