|
6 months ago | |
---|---|---|
PEPObjCAdapter_iOS | 1 year ago | |
PEPObjCAdapter_macOS | 1 year ago | |
Subprojects | 6 months ago | |
pEpObjCAdapter | 6 months ago | |
pEpObjCAdapter.xcodeproj | 6 months ago | |
pEpObjCAdapter.xcworkspace | 1 year ago | |
pEpObjCTests | 6 months ago | |
pEpiOSAdapterTests | 7 years ago | |
.gitignore | 8 months ago | |
README.md | 6 months ago | |
pEpObjCAdapterTests_4ipsec_macOS.plist | 6 months ago |
PER_MACHINE_DIRECTORY="/Library/Application Support/pEp"
PER_USER_DIRECTORY=$HOME/.pEp
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 https://gitea.pep.foundation/fdik/yml2
popd
curl https://sh.rustup.rs -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)
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.
mkdir src_pEpObjCAdapter
cd src_pEpObjCAdapter
git clone https://gitea.pep.foundation/buff/common-dependency-build-helpers-4-apple-hardware.git
git clone http://pep-security.lu/gitlab/iOS/pep-toolbox.git
git clone https://pep-security.lu/gitlab/iOS/CocoaLumberjack
git clone https://pep-security.lu/gitlab/misc/libetpan.git
git clone https://pep-security.lu/gitlab/misc/sqlite.git
git clone https://gitea.pep.foundation/pEp.foundation/pEpEngine
git clone https://gitea.pep.foundation/pep.foundation/pEpObjCAdapter.git
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.
open pEpObjCAdapter/pEpObjCAdapter.xcworkspace/
Build scheme "pEpObjCAdapter_iOS".
xcodebuild -workspace "pEpObjCAdapter.xcworkspace" -scheme "PEPObjCAdapter_iOS" -configuration RELEASE
(or DEBUG)
You can find the build artefacts in the pEpMacOSAdapter/build
folder
open pEpObjCAdapter/pEpObjCAdapter.xcworkspace/
Build scheme "PEPObjCAdapter_macOS".
xcodebuild -workspace "pEpObjCAdapter.xcworkspace" -scheme "PEPObjCAdapter_macOS" -configuration RELEASE
(or DEBUG)
xcodebuild -workspace "pEpObjCAdapter.xcworkspace" -scheme "PEPObjCAdapter_macOS" -configuration RELEASE
(or DEBUG)
You can find the build artefacts in the pEpMacOSAdapter/build
folder
See pEpObjCAdapter/pEpObjCAdapter/build-linux/README.md