- Yarn
- NodeJS (recommended version 22.18.0 or higher)
- Rust (https://www.rust-lang.org/tools/install)
- Rustup iOS targets (
rustup target add aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios) - bindgen-cli (
cargo install --force --locked bindgen-cli) and protoc (brew install protobuf) - Cocoapods (
sudo gem install cocoapods)
- Clone the repository.
- Go to the cloned repo
cd crosslink-mobile-client. - From the root of the project, run:
yarn - Then run:
yarn rust:ios(alias:yarn build:ios)
This buildsios/Zingolib.xcframework(device + simulator slices) andios/zingo.swift. It may take a long time. - In the
iosdirectory, run:
pod install
- Clone the repository.
- Go to the cloned repo
cd crosslink-mobile-client. - From the root of the project, run:
yarn - Then run:
yarn rust:ios:sim(alias:yarn build:ios:sim)
Simulator slices only, so it is faster thanyarn build:ios. - In the
iosdirectory, run:
pod install
- In a terminal, run:
yarn start - In a separate terminal, run:
yarn ios
You can also open theiosdirectory in XCode and run it there.