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.
Dirk Zimmermann bb7b74c93e IPS-91 New target for ipsec adapter tests 8 months ago
PEPObjCAdapter_iOS cleanup 1 year ago
PEPObjCAdapter_macOS adds ObjCAdapter static lib target 1 year ago
Subprojects Fixes: libpEptransport headers not found 8 months ago
pEpObjCAdapter IPS-5 new adapter target for ipsec. Defines NO_TOOLBOX to not depend on iOSToolbox and Lumberjack 10 months ago
pEpObjCAdapter.xcodeproj IPS-91 New target for ipsec adapter tests 8 months ago
pEpObjCAdapter.xcworkspace adds new dependencies to workspace (toolbox, lumberjack) 1 year ago
pEpObjCTests IOSAD-214 Renaming comments to objctypes. Update pEpObjCTests. 11 months ago
pEpiOSAdapterTests initial commit 7 years ago
.gitignore adds gitignore 1 year ago IOSAD-218 fixes readme 11 months ago
pEpObjCAdapterTests_4ipsec_macOS.plist IPS-91 New target for ipsec adapter tests 8 months ago


HowToBuild static lib for macOS


PER_MACHINE_DIRECTORY="/Library/Application Support/pEp"

Required Tools

For building the engine, you need a working python3 environment and all dependencies:

sudo port install git
sudo port install gmake
sudo port install autoconf
sudo port install libtool
sudo port install automake
sudo port install wget
sudo port install capnproto

pushd ~
git clone

curl -sSf | sh

add this to ~/.profile (create if it doesn't exist):

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

restart your Console (!)

sudo port install pkgconfig
rustup update

Install Xcode (if not installed already)

Apple IDs & Certificates

Apple ID

You need to have an Apple ID (connected to pEp team account) configured in Xcode . Ask #service, if you want to be added to the team account.

Build Dependencies

mkdir src_pEpObjCAdapter_macOS
cd src_pEpObjCAdapter_macOS

git clone
git clone
git clone
git clone
git clone
git clone
git clone


iOS Only: Copy System DB

The system.db from the pEpEngine repository must be copied in the bundle that uses the pEpObjCAdapter.a static lib. The ObjCAdapter copies it at runtime in the desired directory.

Backround: Has been introduces to use Apple Shared App Directory of the client App.

Using Xcode UI

open pEpMacOSAdapter/pEpObjCAdapter.xcworkspace/

Build scheme "All" of pEpObjCAdapter.xcworkspace

Using terminal

xcodebuild -workspace "pEpObjCAdapter.xcworkspace" -scheme "PEPObjCAdapter_macOS" -configuration RELEASE

(or DEBUG)

Build Dir & Build Artefacts

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