dsym_verify
Verify that a dSYM (debug symbols) file matches a compiled binary by comparing their UUIDs. When crash reports come in from production, you need the matching dSYM to symbolicate stack traces back to source code. This tool confirms the pairing is correct before you upload symbols to a crash reporting service or attempt local symbolication.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
dsymPath | string | Yes | — | Absolute path to the .dSYM bundle |
binaryPath | string | Yes | — | Absolute path to the Mach-O binary executable to verify against |
Usage Examples
Section titled “Usage Examples”Verify a dSYM from an archive
Section titled “Verify a dSYM from an archive”“Verify the dSYM matches the FitnessTracker binary from my latest archive”
{ "dsymPath": "/Users/dev/Library/Developer/Xcode/Archives/2025-01-15/FitnessTracker.xcarchive/dSYMs/FitnessTracker.app.dSYM", "binaryPath": "/Users/dev/Library/Developer/Xcode/Archives/2025-01-15/FitnessTracker.xcarchive/Products/Applications/FitnessTracker.app/FitnessTracker"}Verify symbols before uploading to Crashlytics
Section titled “Verify symbols before uploading to Crashlytics”“Make sure this dSYM is correct before I upload it to Firebase Crashlytics”
{ "dsymPath": "/Users/dev/Desktop/dSYMs/FitnessTracker.app.dSYM", "binaryPath": "/Users/dev/Desktop/builds/FitnessTracker.app/FitnessTracker"}Verify a framework’s dSYM
Section titled “Verify a framework’s dSYM”“Check if the Charts framework dSYM matches the embedded framework binary”
{ "dsymPath": "/Users/dev/Library/Developer/Xcode/Archives/2025-01-15/FitnessTracker.xcarchive/dSYMs/Charts.framework.dSYM", "binaryPath": "/Users/dev/Library/Developer/Xcode/Archives/2025-01-15/FitnessTracker.xcarchive/Products/Applications/FitnessTracker.app/Frameworks/Charts.framework/Charts"}Example Output
Section titled “Example Output”When the dSYM matches the binary:
dSYM Verification: MATCH
Binary: /Users/dev/.../FitnessTracker.app/FitnessTrackerdSYM: /Users/dev/.../dSYMs/FitnessTracker.app.dSYM
Binary UUID: A1B2C3D4-E5F6-7890-ABCD-EF1234567890dSYM UUID: A1B2C3D4-E5F6-7890-ABCD-EF1234567890Architecture: arm64
Status: UUIDs match. This dSYM can be used to symbolicate crash reports for this binary.When they do not match:
dSYM Verification: MISMATCH
Binary: /Users/dev/.../FitnessTracker.app/FitnessTrackerdSYM: /Users/dev/.../dSYMs/FitnessTracker.app.dSYM
Binary UUID: A1B2C3D4-E5F6-7890-ABCD-EF1234567890dSYM UUID: F9E8D7C6-B5A4-3210-FEDC-BA9876543210Architecture: arm64
Status: UUIDs DO NOT match. This dSYM was generated from a different build and cannot symbolicate crashes from this binary.Related Tools
Section titled “Related Tools”binary_size— Analyze the size of the binary whose dSYM you are verifyingipa_analyze— Extract metadata from the IPA that contains this binaryxcode_archive— Create an archive that produces both the binary and its dSYM