xcresulttool(1) | General Commands Manual | xcresulttool(1) |
xcresulttool - view Xcode result bundle data in a human-readable or machine-parseable format.
xcresulttool get build-results --path Example.xcresult [--compact]
xcresulttool get test-results summary --path Example.xcresult [--compact]
xcresulttool get test-results tests --path Example.xcresult [--compact]
xcresulttool get test-results insights --path Example.xcresult [--compact]
xcresulttool get test-results test-details --path Example.xcresult --test-id exampleTest() [--compact]
xcresulttool get test-results activities --path Example.xcresult --test-id exampleTest() [--compact]
xcresulttool get log --path Example.xcresult [--type build | action | console] [--compact]
xcresulttool get [object] --path Example.xcresult [--format json | raw] [--id ID]
xcresulttool export diagnostics --path Example.xcresult --output-path ./Out
xcresulttool export attachments --path Example.xcresult --output-path ./Out [--test-id exampleTest()] [--only-failures]
xcresulttool export metrics --path Example.xcresult --output-path ./Out --test-id exampleTest()
xcresulttool export [object] --type [file | directory] --path Example.xcresult --output-path ./Out --id ID
xcresulttool formatDescription [get] [--format json | text | markdown | typeHierarchy] [--hash] [--include-event-stream-types]
xcresulttool formatDescription diff [--format text | markdown] version1.json version2.json
xcresulttool merge Input1.xcresult Input2.xcresult [...] --output-path Merged.xcresult
xcresulttool metadata get --path Example.xcresult
xcresulttool metadata addExternalLocation --path Example.xcresult --identifier identifier --link link [--description description]
xcresulttool version
xcresulttool graph --path Example.xcresult
xcresulttool is a tool for reading result bundles.
To produce a result bundle, run xcodebuild with the flag
where PATH is the desired path ending with .xcresult.
2024 | Apple Inc. |