mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
Fixes for iOS build. Add moonpay api placeholders for secrets.
This commit is contained in:
parent
dd784a7829
commit
fa2302f9df
4 changed files with 19 additions and 6 deletions
|
@ -49,13 +49,13 @@ cmake -D IOS=ON \
|
||||||
-DUSE_DEVICE_TREZOR=OFF \
|
-DUSE_DEVICE_TREZOR=OFF \
|
||||||
../..
|
../..
|
||||||
make -j4 && make install
|
make -j4 && make install
|
||||||
cp external/randomx/librandomx.a ${DEST_LIB}
|
cp external/randomx/librandomx.a ${DEST_LIB}/
|
||||||
cp src/cryptonote_basic/libcryptonote_basic.a ${DEST_LIB}
|
cp src/cryptonote_basic/libcryptonote_basic.a ${DEST_LIB}/
|
||||||
cp src/cryptonote_basic/libcryptonote_format_utils_basic.a ${DEST_LIB}
|
cp src/cryptonote_basic/libcryptonote_format_utils_basic.a ${DEST_LIB}/
|
||||||
popd
|
popd
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
#only for arm64
|
#only for arm64
|
||||||
cp ${MONERO_DIR_PATH}/lib-armv8-a/* $EXTERNAL_IOS_LIB_DIR
|
cp ${MONERO_DIR_PATH}/lib-armv8-a/* $EXTERNAL_IOS_LIB_DIR
|
||||||
cp ${MONERO_DIR_PATH}/include/wallet/api/* $EXTERNAL_IOS_INCLUDE_DIR
|
cp ${MONERO_DIR_PATH}/include/wallet/api/* $EXTERNAL_IOS_INCLUDE_DIR
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
g#!/bin/sh
|
||||||
|
|
||||||
. ./config.sh
|
. ./config.sh
|
||||||
|
|
||||||
|
@ -9,5 +9,12 @@ echo "============================ ZMQ ============================"
|
||||||
|
|
||||||
echo "Cloning ZMQ from - $ZMQ_URL"
|
echo "Cloning ZMQ from - $ZMQ_URL"
|
||||||
git clone $ZMQ_URL $ZMQ_PATH
|
git clone $ZMQ_URL $ZMQ_PATH
|
||||||
|
cd $ZMQ_PATH
|
||||||
|
mkdir cmake-build
|
||||||
|
cd cmake-build
|
||||||
|
cmake ..
|
||||||
|
make
|
||||||
|
|
||||||
cp ${ZMQ_PATH}/include/* $EXTERNAL_IOS_INCLUDE_DIR
|
|
||||||
|
cp ${ZMQ_PATH}/include/* $EXTERNAL_IOS_INCLUDE_DIR
|
||||||
|
cp ${ZMQ_PATH}/cmake-build/lib/libzmq.a $EXTERNAL_IOS_LIB_DIR
|
||||||
|
|
|
@ -27,6 +27,10 @@ if [ ! -f ${EXTERNAL_IOS_INCLUDE_DIR}/IOKit/IOTypes.h ]; then
|
||||||
cp /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/IOTypes.h ${EXTERNAL_IOS_INCLUDE_DIR}/IOKit/IOTypes.h
|
cp /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/IOTypes.h ${EXTERNAL_IOS_INCLUDE_DIR}/IOKit/IOTypes.h
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f ${EXTERNAL_IOS_INCLUDE_DIR}/IOKit/IOMapTypes.h ]; then
|
||||||
|
cp /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/IOMapTypes.h ${EXTERNAL_IOS_INCLUDE_DIR}/IOKit/IOMapTypes.h
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -f ${EXTERNAL_IOS_INCLUDE_DIR}/IOKit/IOKitLib.h ]; then
|
if [ ! -f ${EXTERNAL_IOS_INCLUDE_DIR}/IOKit/IOKitLib.h ]; then
|
||||||
cp /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/IOKitLib.h ${EXTERNAL_IOS_INCLUDE_DIR}/IOKit/IOKitLib.h
|
cp /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/IOKitLib.h ${EXTERNAL_IOS_INCLUDE_DIR}/IOKit/IOKitLib.h
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -21,6 +21,8 @@ class SecretKey {
|
||||||
SecretKey('wyreSecretKey', () => ''),
|
SecretKey('wyreSecretKey', () => ''),
|
||||||
SecretKey('wyreApiKey', () => ''),
|
SecretKey('wyreApiKey', () => ''),
|
||||||
SecretKey('wyreAccountId', () => ''),
|
SecretKey('wyreAccountId', () => ''),
|
||||||
|
SecretKey('moonPayApiKey', () => ''),
|
||||||
|
SecretKey('moonPaySecretKey', () => ''),
|
||||||
];
|
];
|
||||||
|
|
||||||
final String name;
|
final String name;
|
||||||
|
|
Loading…
Reference in a new issue