Add support for macOS flavors#308
Closed
jonasfranz wants to merge 2 commits intogetsentry:mainfrom
Closed
Conversation
denrase
added a commit
that referenced
this pull request
Apr 20, 2026
Improves iOS and macOS debug symbol discovery for apps that use build flavors. Introduces a flavor parameter. When it is set, the plugin uploads native debug symbols only from the matching flavored Apple build output directories, making uploads deterministic in projects that build multiple flavors. When flavor is not set, the plugin now also discovers Apple release directories with flavor-style names and uploads symbols from all matching candidates. If multiple candidates are found, it warns and suggests setting the flavor parameter. Relates to #308
5 tasks
Collaborator
|
@jonasfranz Thank you for your contribution! I took the liberty and opened a new PR that builds on your's and adds additional checks for folders and ads a dedicated 'flavor' parameter. :bow |
denrase
added a commit
that referenced
this pull request
Apr 21, 2026
* feat: Improve flavored Apple debug symbol discovery Improves iOS and macOS debug symbol discovery for apps that use build flavors. Introduces a flavor parameter. When it is set, the plugin uploads native debug symbols only from the matching flavored Apple build output directories, making uploads deterministic in projects that build multiple flavors. When flavor is not set, the plugin now also discovers Apple release directories with flavor-style names and uploads symbols from all matching candidates. If multiple candidates are found, it warns and suggests setting the flavor parameter. Relates to #308 * clean cl * add cl entry * update test * remove explicit flavor config value * rmove multi flavor warning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 Description
This PR adds support for macOS flavors in inspiration of #292.
💡 Motivation and Context
Currently only the Release directory gets uploaded. But if I'm building a release with a flavor, nothing gets uploaded, since the name of the directory is different (e.g. Release-test)
💚 How did you test it?
Unit tests only
📝 Checklist
🔮 Next steps