Skip to content
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

Make dsym_parent accept .framework.dSYM #425

Merged
merged 2 commits into from
Sep 9, 2021

Conversation

luser
Copy link
Contributor

@luser luser commented Sep 9, 2021

Currently DSymPathExt::dsym_parent expects the bundle name to be exactly Framework.dSYM, but for frameworks it can also be Framework.framework.dSYM. This change makes it accept either.

I ran into this issue trying to use symbolic with dSYM bundles from our framework at FullStory. The path to the DWARF file in them is FullStory.framework.dSYM/Contents/Resources/DWARF/FullStory. I created a new framework project in Xcode and archived it to verify that we weren't doing anything nonstandard. The resulting dSYM is included as a test fixture in this PR, you can see that it's named Example.framework.dSYM.

@luser luser requested a review from a team September 9, 2021 15:18
symbolic-common/src/path.rs Outdated Show resolved Hide resolved
@Swatinem Swatinem merged commit e320c40 into getsentry:master Sep 9, 2021
@luser luser deleted the dsym-parent-framework branch September 9, 2021 17:32
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.

2 participants