XCodeBuild Post-Processor
The xcodebuild post-processor is used to detect errors in the output of the xcodebuild command. The post-processor will search for the error messages produced by xcodebuild and capture them with a configurable amount of context. By default, errors detected in this way will not cause the build to fail: the exit code of xcodebuild is the preferred way to determine this.
Xcodebulid post-processors are applied by default when using the xcodebuild command.
Attributes
| Attribute |
Description |
Required? |
Default |
| join-overlapping |
If true, features with overlapping context lines will be joined into a single feature. |
No |
true |
| leading-context |
The number of leading lines of context to capture. |
No |
1 |
| name |
The name of this post-processor. |
Yes |
|
| trailing-context |
The number of trailing lines of context to capture. |
No |
6 |
Child Elements
None.
Examples
Apply a xcodebuild post-processor to an executable command (e.g. a script that calls xcodebuild):
<xcodebuild.pp name="xcodebuild.pp"/>
<recipe name="default">
<executable name="build" exe="xcodebuild">
<process processor="${xcodebuild.pp}"/>
</executable>
</recipe>