Skip to content

Commit

Permalink
Update README for Generate Legacy Test Coverage Files
Browse files Browse the repository at this point in the history
  • Loading branch information
jonreid committed Sep 25, 2017
1 parent 68f6d6e commit 3394197
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ Xcode Project Setup
XcodeCoverage comes with an xcconfig file with the build settings required to instrument your code for coverage analysis.

If you already use an xcconfig, include it in the configuration you want to instrument:

* Standard installation: `#include "XcodeCoverage/XcodeCoverage.xcconfig"`
* CocoaPods installation: `#include "Pods/XcodeCoverage/XcodeCoverage.xcconfig"`

If you don't already use an xcconfig, drag XcodeCoverage.xcconfig into your project. Where it prompts "Add to targets," deselect all targets. (Otherwise, it will be included in the bundle.) Then click on your project in Xcode's Navigator pane, and select the Info tab. For the configuration you want to instrument, select XcodeCoverage.

If you'd rather specify the build settings by hand, enable these two settings at the project level:

* Instrument Program Flow
* Generate Test Coverage Files
* Generate Legacy Test Coverage Files

Make sure not to instrument your AppStore release.

Expand Down

0 comments on commit 3394197

Please sign in to comment.