Search code examples
iosswiftxcodebuild

'xcrun xcresulttool export --path' file format


enter image description here

I used the xcresulttool export the file, but the structure of the file is like this, who knows what the data structure of the file is?


Solution

  • You can format the output as JSON using the format options:

    xcrun xcresulttool get --path "~/path/to/file.xcresult" --format json
    

    Currently, the only two formats that are supported are either json or raw. raw is the default, leading to output like you posted.