# macho: put dSYM bundle in zig-cache · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/af9c6f2c696201e16d95f79a7275aae19b34cd59)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: af9c6f2c696201e16d95f79a7275aae19b34cd59

Requested commit: af9c6f2c696201e16d95f79a7275aae19b34cd59

Commit: af9c6f2c696201e16d95f79a7275aae19b34cd59

Tree: ebc0836bd9d1c185249b48e23ed581c38f93ffa5

Author: Jakub Konka

Committer: Jakub Konka

## Message

````
macho: put dSYM bundle in zig-cache

Originally, I thought that the dSYM bundle has to reside side-by-side
with the binary it carries the debugging information for. However, it
turns out macOS is clever enough that it auto-searches for matching
dSYM bundle based on the embedded UUID of the binary.

To verify this, run this on your macOS:

```
mdfind "com_apple_xcode_dsym_uuids == <UUID from LC_UUID>"
```

See [here] for more info.

[here]: https://developer.apple.com/documentation/xcode/adding-identifiable-symbol-names-to-a-crash-report

````

## Parents

- [00ebbe6df2249ba8201c0e5472d95022bf73e782](https://git.cafe/gitcafe/zig/commit/00ebbe6df2249ba8201c0e5472d95022bf73e782?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/af9c6f2c696201e16d95f79a7275aae19b34cd59?format=markdown)
