Skip to content

Commit

Permalink
Fix xcresults export for Xcode 16
Browse files Browse the repository at this point in the history
  • Loading branch information
vince1393 committed Oct 17, 2024
1 parent f19db33 commit 24f746c
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ private JsonNode readSummary() {
"xcrun",
"xcresulttool",
"get",
"--legacy",
"--format", "json",
"--path", inputPath.toAbsolutePath().toString()
);
Expand All @@ -242,6 +243,7 @@ private JsonNode getReference(final String id) {
"xcrun",
"xcresulttool",
"get",
"--legacy",
"--format", "json",
"--path", inputPath.toAbsolutePath().toString(),
"--id", id
Expand All @@ -255,14 +257,16 @@ private void exportReference(final String id, final Path output) {
"xcrun",
"xcresulttool",
"export",
"--type", "file",
"--path", inputPath.toAbsolutePath().toString(),
"--type", "file",
"--output-path", output.toAbsolutePath().toString(),
"--id", id,
"--output-path", output.toAbsolutePath().toString()
"--legacy"
);
readProcessOutput(exportBuilder);
if (FILE_EXTENSION_HEIC.equals(FilenameUtils.getExtension(output.toString()))) {
convertHeicToJpeg(output);
try {
exportBuilder.start();
} catch (IOException e) {
e.printStackTrace();
}
}

Expand Down

0 comments on commit 24f746c

Please sign in to comment.