Skip to content

Collect framework dSYMs in test bundle debug dependencies #2742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

sewerynplazuk
Copy link
Contributor

This PR fixes dSYM collection for frameworks specified in the frameworks attribute of ios_ui_test targets.

Currently, while framework binaries are properly made available to test targets, their corresponding dSYM files are not collected in the test bundle's debug symbol directory. This causes missing debug symbols when debugging test failures that involve framework code.

The fix ensures that dSYMs from framework dependencies are included alongside dSYMs from regular dependencies specified in the deps attribute.

@sewerynplazuk sewerynplazuk force-pushed the seweryn/test-bundle-frameworks-dsym-collection branch from 30a01d0 to 11e7ad8 Compare June 26, 2025 09:47
@aaronsky
Copy link
Contributor

is it possible to add a test for this so it doesn’t regress?

@sewerynplazuk
Copy link
Contributor Author

is it possible to add a test for this so it doesn’t regress?

Makes sense. Let me see what I can do

@brentleyjones brentleyjones merged commit 70e0e27 into bazelbuild:master Jun 30, 2025
5 of 8 checks passed
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.

3 participants