Skip to content

feat(build): Support dSYMs with IPA uploads - #3393

Open
jamieQ wants to merge 3 commits into
masterfrom
codex/ipa-dsym-upload
Open

feat(build): Support dSYMs with IPA uploads#3393
jamieQ wants to merge 3 commits into
masterfrom
codex/ipa-dsym-upload

Conversation

@jamieQ

@jamieQ jamieQ commented Aug 13, 2026

Copy link
Copy Markdown
Member

Adds support for a new --dsym option when uploading IPA files through the build command. This allows clients to associate app debug symbols with an IPA upload (which typically does not include them). Internally the uploader follows the existing logic to construct a synthetic XCArchive, but will copy the specified dSYM bundles it finds into that archive before uploading. This will give clients a better experience when they upload builds that have undergone "app thinning" since they will not have to perform the synthetic archive construction themselves.

Refs EME-1285

@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 0e998bd

@linear-code

linear-code Bot commented Aug 14, 2026

Copy link
Copy Markdown

EME-1285

@jamieQ
jamieQ marked this pull request as ready for review August 14, 2026 15:30
@jamieQ
jamieQ requested review from a team and szokeasaurusrex as code owners August 14, 2026 15:30

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 0e998bd. Configure here.

Comment thread src/utils/build/apple.rs

if bundles.is_empty() && allow_wrapper && directories.len() == 1 {
return discover_dsym_bundles(&directories[0], false);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ZIP dSYM discovery skips extra folders

Medium Severity

--dsym ZIP discovery only unwraps a directory when it is the sole top-level folder. A ZIP of a dSYM folder that also contains another directory, such as __MACOSX from Finder compress, yields no bundles and fails even though valid .dSYM bundles are present. That layout matches the documented ZIP-of-a-directory case and is common on macOS, where this feature runs.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 0e998bd. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant