Skip to content

Commit 2c12d7a

Browse files
author
Andras Fekete
committed
Adding a README of my notes
1 parent f7324ed commit 2c12d7a

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

IDE/XCODE/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
This example will create the artifacts necessary for building applications using XCODE. It consists of 3 parts:
2+
- Building OpenSSL (build-openssl-framework.sh)
3+
- Building WolfSSL (build-wolfssl-framework.sh)
4+
- Building WolfProvider (build-wolfprovider-framework.sh)
5+
6+
Using the `build-all.sh` script it will invoke all the required steps with the necessary dependencies. Once the artifacts are created in each of the respective source directories the `run_openssl.sh` script can be used to run a few simple tests of libwolfprov with the specific version of OpenSSL. Most of the examples use `libwolfprov.so/dll/dylib` so we do a simple trick to create a symbolic link that has the proper filename.

IDE/XCODE/build-all.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ cd ${WOLFPROV_DIR}/wolfssl-source && ${XCODE_SCRIPTS_DIR}/build-wolfssl-framewor
2222
cd ${WOLFPROV_DIR} && ${XCODE_SCRIPTS_DIR}/build-wolfprovider-framework.sh
2323

2424
clang ${WOLFPROV_DIR}/examples/openssl_example.c -I ${WOLFPROV_DIR}/openssl-source/artifacts/xcframework/libopenssl.xcframework/macos-arm64_x86_64/Headers -L ${WOLFPROV_DIR}/openssl-source/artifacts/xcframework/libopenssl.xcframework/macos-arm64_x86_64/ -lcrypto -o ${WOLFPROV_DIR}/artifacts/openssl_example
25+
26+
echo "Script ran for $SECONDS seconds"

0 commit comments

Comments
 (0)