Skip to main content

How can I disable showing source code for my iOS app?

Updated over a month ago

Issue

I upload dSYMs for my Sentry iOS integration, but I'm seeing source code appear in the traces. I want to see line numbers and filenames of crashes or errors (and any included text) but not code. How can I do this?

Applies To

  • All SaaS Customers and Self-Hosted Users

  • Debug Files

  • iOS related SDKs

Resolution

This is called source context, and it can be disabled depending on which method you use to upload your dSYMs to Sentry. All methods and how to disable it can be found here (basically you want to remove/turn off include sources).

Did this answer your question?