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,9 +49,9 @@ cmake -D IOS=ON \
|
|||
-DUSE_DEVICE_TREZOR=OFF \
|
||||
../..
|
||||
make -j4 && make install
|
||||
cp external/randomx/librandomx.a ${DEST_LIB}
|
||||
cp src/cryptonote_basic/libcryptonote_basic.a ${DEST_LIB}
|
||||
cp src/cryptonote_basic/libcryptonote_format_utils_basic.a ${DEST_LIB}
|
||||
cp external/randomx/librandomx.a ${DEST_LIB}/
|
||||
cp src/cryptonote_basic/libcryptonote_basic.a ${DEST_LIB}/
|
||||
cp src/cryptonote_basic/libcryptonote_format_utils_basic.a ${DEST_LIB}/
|
||||
popd
|
||||
|
||||
done
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
g#!/bin/sh
|
||||
|
||||
. ./config.sh
|
||||
|
||||
|
@ -9,5 +9,12 @@ echo "============================ ZMQ ============================"
|
|||
|
||||
echo "Cloning ZMQ from - $ZMQ_URL"
|
||||
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}/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
|
||||
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
|
||||
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
|
||||
|
|
|
@ -21,6 +21,8 @@ class SecretKey {
|
|||
SecretKey('wyreSecretKey', () => ''),
|
||||
SecretKey('wyreApiKey', () => ''),
|
||||
SecretKey('wyreAccountId', () => ''),
|
||||
SecretKey('moonPayApiKey', () => ''),
|
||||
SecretKey('moonPaySecretKey', () => ''),
|
||||
];
|
||||
|
||||
final String name;
|
||||
|
|
Loading…
Reference in a new issue