xcodebuild should produce structured & specified build artifacts for build & test results

Originator:Benjamin.Encz
Number:rdar://26849555 Date Originated:16-Jun-2016 04:06 PM
Status:Closed Resolved:Duplicate
Product:Xcode Product Version:8.0 beta (8S128d)
Classification:Enhancement Reproducible:Always
 
As of Xcode 8.0 xcodebuild simply outputs all build & test results to stdout/stderror in an unspecified format. Third party tools such as xcpretty (https://github.com/supermarin/xcpretty) need to parse & reverse engineer this output into a structured format.

It would be great if xcodebuild could output XML (or any other structured data format) which would allow much better integration with custom CI systems. Ideally this output would be specified and break out build, test and analyzer results separately.

Steps to Reproduce:
1. Build project with `xcodebuild test` with any Xcode project that contains unit test

Expected Results:
xcodebuild outputs build artifacts that describe build & test results in a structured, machine readable format.

Actual Results:
xcodebuild outputs all build & test results to stdout/stderror in an unspecified structure.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!