iOS build scripts update

This commit is contained in:
M 2022-02-23 15:04:45 +02:00
parent 6daaee93f6
commit 2a48ba5dc0
8 changed files with 12 additions and 9 deletions

View file

@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict/>
<key>aps-environment</key>
<string>development</string>
</dict>
</plist> </plist>

View file

@ -1 +0,0 @@
/Users/m/Development/Projects/cake_wallet/scripts/ios/../../ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png

View file

@ -1 +0,0 @@
/Users/m/Development/Projects/cake_wallet/scripts/ios/../../ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_120.png

View file

@ -1 +0,0 @@
/Users/m/Development/Projects/cake_wallet/scripts/ios/../../ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_180.png

View file

@ -10,4 +10,5 @@ DIR=$(dirname "$0")
case $APP_IOS_TYPE in case $APP_IOS_TYPE in
"monero.com") $DIR/build_monero_all.sh ;; "monero.com") $DIR/build_monero_all.sh ;;
"cakewallet") $DIR/build_monero_all.sh ;; "cakewallet") $DIR/build_monero_all.sh ;;
"haven") $DIR/build_haven_all.sh ;;
esac esac

View file

@ -49,7 +49,6 @@ 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 src/cryptonote_basic/libcryptonote_basic.a ${DEST_LIB} cp src/cryptonote_basic/libcryptonote_basic.a ${DEST_LIB}
cp src/offshore/liboffshore.a ${DEST_LIB} cp src/offshore/liboffshore.a ${DEST_LIB}
popd popd

9
scripts/ios/build_haven_all.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
. ./config.sh
./install_missing_headers.sh
./build_openssl.sh
./build_boost.sh
./build_sodium.sh
./build_zmq.sh
./build_haven.sh

View file

@ -2,7 +2,7 @@
export IOS_SCRIPTS_DIR=`pwd` export IOS_SCRIPTS_DIR=`pwd`
export CW_ROOT=${IOS_SCRIPTS_DIR}/../.. export CW_ROOT=${IOS_SCRIPTS_DIR}/../..
export EXTERNAL_DIR=${CW_ROOT}/cw_monero/ios/External export EXTERNAL_DIR=${CW_ROOT}/cw_shared_external/ios/External
export EXTERNAL_IOS_DIR=${EXTERNAL_DIR}/ios export EXTERNAL_IOS_DIR=${EXTERNAL_DIR}/ios
export EXTERNAL_IOS_SOURCE_DIR=${EXTERNAL_IOS_DIR}/sources export EXTERNAL_IOS_SOURCE_DIR=${EXTERNAL_IOS_DIR}/sources
export EXTERNAL_IOS_LIB_DIR=${EXTERNAL_IOS_DIR}/lib export EXTERNAL_IOS_LIB_DIR=${EXTERNAL_IOS_DIR}/lib