Update Guide.DebuggingInXcode.md

This commit is contained in:
Leo Natan
2018-03-29 12:44:50 +03:00
committed by GitHub
parent e24a0f1ceb
commit f22695b7d7
+5 -5
View File
@@ -10,7 +10,7 @@
> NOTE: Apps should not be submitted to the App Store with the Detox framework linked. Follow this guide only to debug Detox issues in your project. Once finished, make sure to remove **Detox.framework** from your project.
### Add launch arguments
### Add Launch Arguments
Under **Product** menu select **Scheme** -> **Edit Scheme** and select **Run** -> **Arguments** tab and add the following launch arguments to **Arguments Passed On Launch**:
@@ -49,12 +49,12 @@ Run the following command in your project root directory:
detox run-server
```
### Run Your Application
> NOTE: Before running, place breakpoints you wish to debug.
### Run Your Application from Xcode
Run your application from Xcode as you normally do.
> NOTE: Before running, place breakpoints you wish to debug.
### Run Detox Tests
Run the following command in your project root directory:
@@ -63,4 +63,4 @@ Run the following command in your project root directory:
detox test --configuration ios.none
```
> NOTE: Tests that call `device.relaunchApp()` may fail as this API is unavailable when using `ios.none` configuration types. Instead, use `it.only` to run specific tests and restart your app from Xcode.
> NOTE: Tests that call `device.launchApp()` may fail as this API is unavailable when using `ios.none` configuration types. Instead, use `it.only` to run specific tests and restart your app from Xcode.