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

Cannot see the logs on Sentry from live application #3990

Closed
mrchauhan2802 opened this issue May 16, 2024 · 5 comments
Closed

Cannot see the logs on Sentry from live application #3990

mrchauhan2802 opened this issue May 16, 2024 · 5 comments

Comments

@mrchauhan2802
Copy link

Platform

iOS

Environment

Develop, TestFlight

Installed

CocoaPods

Version

8.25.0

Did it work on previous versions?

No

Steps to Reproduce

So I have implemented the Sentry and tested from my device I can see very logs and my app have three environment which shows fine as well

The issue is when I released the stage and production app and other people have installed from AppCenter and TestFlight, I Can's their logs.

I can't see any logs from their device.

Wanted to know what I am doing wrong.

Expected Result

To see the logs from all devices

Actual Result

Cannot see any logs, only when I run from Xcode I can able to see logs.

Are you willing to submit a PR?

No

@philipphofmann
Copy link
Member

@mrchauhan2802, I'm unsure what you mean by logs. Please specify that or share some screenshots.

@mrchauhan2802
Copy link
Author

@mrchauhan2802, I'm unsure what you mean by logs. Please specify that or share some screenshots.

logs means I can't see any events on Sentry like in issues section for other devices. When I run from Xcode I can see events or logs in the issues section. But when I generate the app and release to AppCenter and TestFlight I can't see any logs. Is it something with the fast lane ?

@philipphofmann
Copy link
Member

Can you share the options you pass to the SentrySDK without your DSN, of course? Maybe there's a problem in there.

@mrchauhan2802
Copy link
Author

mrchauhan2802 commented May 18, 2024

Can you share the options you pass to the SentrySDK without your DSN, of course? Maybe there's a problem in there.

[SentrySDK startWithConfigureOptions:^(SentryOptions * options) {
        options.debug = YES; // Enabled debug when first installing is always helpful
        options.enableTracing = YES;
        options.environment = self.environment;
        options.attachScreenshot = NO; //This will add a screenshot to the error events
        options.attachViewHierarchy = YES; //This will add the view hierarchy to the error events
    }];

@mrchauhan2802
Copy link
Author

The issue has been resolved. The logs always were there the issue with me the way I was looking was wrong. thank you for your reply. I am closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Archived in project
Development

No branches or pull requests

2 participants