mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
Update Guide.DebuggingInXcode.md
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user