compositeMD5(1) User Commands compositeMD5(1)

compositeMD5 - Command-line tool to generate a composite MD5 hash.

xcrun compositeMD5 <file>

compositeMD5 is a command-line utility that generates a composite MD5 hash for a file. To improve performance on large files, it splits the file into parts, calculates MD5 hashes for each part concurrently, and combines the results into a final composite hash. The output includes the composite MD5 in the following format, <hash>-<# parts>-<part size>, and a list of the individual part hashes.

--format {xml | json | normal}

Specifies the output format. `xml` and `json` provide structured output; `plain` (the default) provides unstructured output.

Generate the composite MD5:

xcrun compositeMD5 ~/MyApp.ipa

Generate the composite MD5 and with the output formatted as JSON:

xcrun compositeMD5 ~/MyApp.ipa --format json

xcrun(1)

If xcrun compositeMD5 fails, it will typically print an error message to stderr and exit with a non-zero status. Common error messages include:

"File not found"

Indicates that the file could not be found.

"File is a directory"

Indicates that the file specified is a directory.

No known bugs.

Apple Inc.

xcrun compositeMD5 was first introduced as a command-line tool to improve performance when uploading large assets to the App Store.

2025-06-23 Apple Inc.