cake_wallet/scripts/ios/build_mwebd.sh

15 lines
364 B
Bash
Raw Normal View History

2024-07-26 08:24:24 +00:00
#!/bin/bash
2024-09-06 15:45:13 +00:00
# install go > 1.23:
2024-07-26 08:24:24 +00:00
brew install go
2024-07-17 16:13:41 +00:00
export PATH=$PATH:~/go/bin
go install golang.org/x/mobile/cmd/gomobile@latest
gomobile init
# build mwebd:
git clone https://github.com/ltcmweb/mwebd
2024-07-17 16:51:30 +00:00
cd mwebd
2024-09-06 15:45:13 +00:00
git reset --hard f6ea8a9e3d348b01bb44f03a1cc4ad65b0abe935
2024-07-24 16:52:26 +00:00
gomobile bind -target=ios .
2024-07-26 08:24:24 +00:00
mv -fn ./Mwebd.xcframework ../../../ios/
2024-07-17 16:13:41 +00:00
# cleanup:
2024-07-17 16:51:30 +00:00
cd ..
2024-07-17 16:13:41 +00:00
rm -rf mwebd