From a5fbde5fc019a1251e084568e75bbb2a09cb55a3 Mon Sep 17 00:00:00 2001 From: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:25:45 -0500 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 855865dae..8a6a160fb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -170,14 +170,12 @@ If you wish to debug directly on a local Android device: - To run the app in debug mode with backend (`sd-core`) logging, comment out the following lines before running the above command: https://github.com/spacedriveapp/spacedrive/blob/d180261ca5a93388486742e8f921e895e9ec26a4/apps/mobile/modules/sd-core/ios/build-rust.sh#L51-L54 You can now get backend (`sd-core`) logs from the Simulator by running the following command: - ``` - xcrun simctl launch --console booted com.spacedrive.app - ``` -- If you'd like to run the app on device, run: - ` pnpm mobile ios --device - ` - > [!IMPORTANT] - > Note that you can only get `sd-core` logs from the app when running it on device by running the frontend and backend separately. + ``` + xcrun simctl launch --console booted com.spacedrive.app + ``` +- If you'd like to run the app on device, run: `pnpm mobile ios --device` +> [!IMPORTANT] +> Note that you can only get `sd-core` logs from the app when running it on device by running the frontend and backend separately. To run the backend (`sd-core`) separately, open up Xcode by running: