getsentry/sentry-cli

[cocoa] extra directory attribute for --include-sources

Closed this issue · 8 comments

--include-sources doesn't find all source directories, it should be possible to add them manually.

Hi @barisyild, is this a bug report or a feature request?

If it's a bug report, please re-open the issue with our bug report template.

If it's a feature request, please explain in more detail how you would like this new feature to work and how exactly this feature will help you.

Hi @barisyild, is this a bug report or a feature request?

If it's a bug report, please re-open the issue with our bug report template.

If it's a feature request, please explain in more detail how you would like this new feature to work and how exactly this feature will help you.

I add the compiled code to the project as a static binary, so I think it is normal that include-sources cannot find the source code.
If we can add directories manually, there is no such problem.

Hi @barisyild, I am still missing context on what you are trying to do.

What is the exact command you are running? What are you trying to accomplish with Sentry CLI?

Hi @barisyild, I am still missing context on what you are trying to do.

What is the exact command you are running? What are you trying to accomplish with Sentry CLI?

https://docs.sentry.io/platforms/apple/guides/ios/dsym/#xcode-build-phase

I run the cli command in the link above, but it only sends a small part of the source code, the part it does not send is linked as a static link.

@barisyild Are your stack traces not being symbolicated in Sentry because of this?

@barisyild Are your stack traces not being symbolicated in Sentry because of this?

It symbolizes but does not show the source code, because it is missing.

It symbolizes but does not show the source code, because it is missing.

Got it. Have you tried using the sentry-cli bundle-sources command to bundle your source files manually? This command allows you to manually specify the path to your debug files, and the command finds the source files based on the debug files.

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀