Skip to content

Commit

Permalink
note on configuring detox with Xcode workspaces (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Belo authored and rotemmiz committed Sep 29, 2017
1 parent a1ca6c3 commit 5fac6ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/Introduction.GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ The basic configuration for Detox should be in your `package.json` file under th

In the above configuration example, change `example` to your actual project name. Under the key `"binaryPath"`, `example.app` should be `<your_project_name>.app`. Under the key `"build"`, `example.xcodeproj` should be `<your_project_name>.xcodeproj` and `-scheme example` should be `-scheme <your_project_name>`.

For iOS apps in a workspace (eg: Cocoapods) use `-workspace ios/example.xcworkspace` instead of `-project`.

Also make sure the simulator model specified under the key `"name"` (`iPhone 7` above) is actually available on your machine (it was installed by Xcode). Check this by typing `xcrun simctl list` in terminal to display all available simulators.

> TIP: To test a release version, replace 'Debug' with 'Release' in the binaryPath and build properties. For full configuration options see Configuration under the API Reference.
Expand Down

0 comments on commit 5fac6ed

Please sign in to comment.