You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pEpEngine/build-mac
Dirk Zimmermann ce405ee225 PEMA-41 PEP_LOG_DESTINATIONS=PEP_LOG_DESTINATION_STDOUT 4 months ago
..
Subprojects PEMA-41 Add generated files to existing list 4 months ago
curl Script for building curl-7.48.0 7 years ago
pEpEngine.xcodeproj PEMA-41 PEP_LOG_DESTINATIONS=PEP_LOG_DESTINATION_STDOUT 4 months ago
pEpEngine_macOS merge IOS-2740 2 years ago
pEpTrustWords Trustwords not executable 7 years ago
scripts/python IOSAD-232 Unify names for generated file lists 1 year ago
README.md updates readme 2 years ago
build.sh Through the power of revert, fixed the modes I messed up in the last commit (sorry, new machine and dorking around caused an unintended large-scale mode reset) 4 years ago
build_libcurl_dist.sh Through the power of revert, fixed the modes I messed up in the last commit (sorry, new machine and dorking around caused an unintended large-scale mode reset) 4 years ago
curl-7.48.0.tar.gz.asc Through the power of revert, fixed the modes I messed up in the last commit (sorry, new machine and dorking around caused an unintended large-scale mode reset) 4 years ago
generated-files.txt IOSAD-232 Unify names for generated file lists 1 year ago
pEpTrustWords-Info.plist IOS-1482 Xcode: Rename (ugly plist filename). 4 years ago

README.md

BUILD-MACOS

Exists solely for sanity check.

pEpCC must run on all OSs, thus Xcode build is not suitable.

Getting Dependencies

Install this …

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 https://gitea.pep.foundation/fdik/yml2
popd

… and rust toolchain…

xcode-select --install
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env

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

… and etch this dependencies to be able to use build-mac

mkdir src_pEp4ipsec
cd src_pEp4ipsec

git clone https://gitea.pep.foundation/buff/mac-os-build-scripts-common-dependencies.git
git clone https://gitea.pep.foundation/pep.foundation/pEpObjCAdapter.git

http://pep-security.lu/gitlab/fdik/pEp-for-ipsec.git

Build

Using Xcode

open pEp-for-ipsec/pEpCC/Xcode/pEpCC.xcodeproj

Build scheme “pEpCC_macOS”.

Using terminal

xcodebuild -project "pEp-for-ipsec/pEpCC/Xcode/pEpCC.xcodeproj" -scheme "pEpCC_macOS" -configuration [RELEASE|DEBUG]