Skip to content

Commit 08a5b69

Browse files
committed
fix: change readme with ios simulator intructions
1 parent 854899c commit 08a5b69

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Google Play: [https://play.google.com/store/apps/details?id=org.ZingoLabs.Zingo]
77
1. Yarn
88
2. NodeJS (recommended version 17+)
99
3. Rust (https://www.rust-lang.org/tools/install)
10-
4. Rustup iOS targets (`rustup target add aarch64-apple-ios x86_64-apple-ios`)
10+
4. Rustup iOS targets (`rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim`)
1111
5. Cargo-lipo (`cargo install cargo-lipo`)
1212
6. Cbindgen (`cargo install cbindgen`)
1313
7. Cocaopods (`sudo gem install cocoapods`)
1414

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

24+
## Building for simulator
25+
1. In the `rust/ios` directory, run: <br />
26+
`./buildsimulator.sh` <br />
27+
This step may take a long time.
28+
2. From the root of the project, run: <br />
29+
`yarn`
30+
3. In the `ios` directory, run: <br />
31+
`pod install`
32+
2433
## Launching the app
2534
1. In a terminal, run: <br />
2635
`yarn start`

0 commit comments

Comments
 (0)