pEpEngine/build-mac
Dirk Zimmermann 8d7da1e669 PEMA-443 [xcode] remove -ObjC linker flag 2023-04-06 14:23:49 +02:00
..
Subprojects gitea-125 [xcode] Make archive builds great again 2023-02-16 11:26:19 +01:00
curl Script for building curl-7.48.0 2016-04-20 15:40:00 +02:00
pEpEngine.xcodeproj PEMA-443 [xcode] remove -ObjC linker flag 2023-04-06 14:23:49 +02:00
pEpEngine_macOS merge IOS-2740 2021-03-29 13:20:48 +02:00
pEpTrustWords Trustwords not executable 2016-02-25 20:21:57 +01:00
patches gitea-97 Make the patch file less tabby 2022-12-21 08:59:27 +01:00
scripts/python IOSAD-232 Unify names for generated file lists 2022-03-14 16:46:23 +01:00
README.md updates readme 2021-08-26 15:23:30 +02:00
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) 2018-10-31 16:10:48 +01:00
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) 2018-10-31 16:10:48 +01:00
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) 2018-10-31 16:10:48 +01:00
generated-files.txt IOSAD-232 Unify names for generated file lists 2022-03-14 16:46:23 +01:00
pEpTrustWords-Info.plist IOS-1482 Xcode: Rename (ugly plist filename). 2019-04-09 16:02:46 +02:00

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]