mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
16 lines
432 B
Bash
Executable file
16 lines
432 B
Bash
Executable file
#!/bin/sh
|
|
# Assume we are in scripts/ios
|
|
IOS_DIR="$(pwd)/../../ios"
|
|
DYLIB_NAME="monero_libwallet2_api_c.dylib"
|
|
DYLIB_LINK_PATH="${IOS_DIR}/${DYLIB_NAME}"
|
|
FRWK_DIR="${IOS_DIR}/MoneroWallet.framework"
|
|
|
|
if [ ! -f $DYLIB_LINK_PATH ]; then
|
|
echo "Dylib is not found by the link: ${DYLIB_LINK_PATH}"
|
|
exit 0
|
|
fi
|
|
|
|
cd $FRWK_DIR # go to iOS framework dir
|
|
lipo -create $DYLIB_LINK_PATH -output MoneroWallet
|
|
|
|
echo "Generated ${FRWK_DIR}"
|