Skip to content

Commit

Permalink
Merge pull request zingolabs#595 from juanky201271/dev_readme_ios_sim…
Browse files Browse the repository at this point in the history
…ulator_info

Change readme with ios simulator intructions
  • Loading branch information
Oscar-Pepper authored Feb 5, 2024
2 parents ae49eae + 08a5b69 commit af1b066
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Google Play: [https://play.google.com/store/apps/details?id=org.ZingoLabs.Zingo]
1. Yarn
2. NodeJS (recommended version 17+)
3. Rust (https://www.rust-lang.org/tools/install)
4. Rustup iOS targets (`rustup target add aarch64-apple-ios x86_64-apple-ios`)
4. Rustup iOS targets (`rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim`)
5. Cargo-lipo (`cargo install cargo-lipo`)
6. Cbindgen (`cargo install cbindgen`)
7. Cocaopods (`sudo gem install cocoapods`)

## Building
## Building for physical device
1. In the `rust/ios` directory, run: <br />
`./build.sh` <br />
This step may take a long time.
Expand All @@ -21,6 +21,15 @@ Google Play: [https://play.google.com/store/apps/details?id=org.ZingoLabs.Zingo]
3. In the `ios` directory, run: <br />
`pod install`

## Building for simulator
1. In the `rust/ios` directory, run: <br />
`./buildsimulator.sh` <br />
This step may take a long time.
2. From the root of the project, run: <br />
`yarn`
3. In the `ios` directory, run: <br />
`pod install`

## Launching the app
1. In a terminal, run: <br />
`yarn start`
Expand Down

0 comments on commit af1b066

Please sign in to comment.