2021-09-13 16:33:32 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
. ./config.sh
|
|
|
|
|
|
|
|
SODIUM_PATH="${EXTERNAL_IOS_SOURCE_DIR}/libsodium"
|
|
|
|
SODIUM_URL="https://github.com/jedisct1/libsodium.git"
|
|
|
|
|
|
|
|
echo "============================ SODIUM ============================"
|
|
|
|
|
|
|
|
echo "Cloning SODIUM from - $SODIUM_URL"
|
2024-03-10 02:02:30 +00:00
|
|
|
git clone $SODIUM_URL $SODIUM_PATH
|
2021-09-13 16:33:32 +00:00
|
|
|
cd $SODIUM_PATH
|
2024-03-10 02:02:30 +00:00
|
|
|
git checkout 443617d7507498f7477703f0b51cb596d4539262
|
|
|
|
./dist-build/apple-xcframework.sh
|
2021-09-13 16:33:32 +00:00
|
|
|
|
2024-03-10 02:02:30 +00:00
|
|
|
mv ${SODIUM_PATH}/libsodium-apple/ios/include/* $EXTERNAL_IOS_INCLUDE_DIR
|
|
|
|
mv ${SODIUM_PATH}/libsodium-apple/ios/lib/* $EXTERNAL_IOS_LIB_DIR
|