Open Danie0918 opened 1 month ago
There may be two approaches to running a light client on Mobile
Here is the reference:
Build the ios target: https://doc.rust-lang.org/rustc/platform-support/arm64e-apple-ios.html
A virtual environment on ios: https://github.com/utmapp/UTM This will start a new OS, so it does not belong to run a node at Mobile.
I will try to see which approach works best.
Update 06-11:
Build target x86_64-apple-ios
failed with ckb-rocksdb
. I will check why the ckb-rocksdb
build failed.
Recording the compilation process:
openssl
library corresponding to iOS, requiring manual compilation of the openssl
library or using a precompiled version from someone else. https://github.com/x2on/OpenSSL-for-iPhone
export OPENSSL_LIB_DIR=OpenSSL-for-iPhone/bin/iPhoneSimulator17.4-x86_64.sdk/lib
export OPENSSL_INCLUDE_DIR=OpenSSL-for-iPhone/bin/iPhoneSimulator17.4-x86_64.sdk/include
ckb-rocksdb
does not support iOS compilation targets, requiring modification of the compilation script. Here is the fork repo's PR
Nowadays, mobile has become the main use of the user's scene, we need to complete the light client mobile adaptation to develop mobile Neuron.