Skip to content

Add support for macOS flavors#308

Closed
jonasfranz wants to merge 2 commits intogetsentry:mainfrom
jonasfranz:main
Closed

Add support for macOS flavors#308
jonasfranz wants to merge 2 commits intogetsentry:mainfrom
jonasfranz:main

Conversation

@jonasfranz
Copy link
Copy Markdown

📜 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

  • I reviewed submitted code
  • I added tests to verify changes
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

🔮 Next steps

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
@denrase
Copy link
Copy Markdown
Collaborator

denrase commented Apr 20, 2026

@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 denrase closed this Apr 20, 2026
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
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