Issue
My events from the React Native SDK do not have legible stack trace. Instead, all frames in the stacktrace point to the same location (same file:line:column).
This issue does not affect events from Android devices.
Applies To
- All SaaS Customers
- Error Monitoring
- React Native SDK
- Apps deployed to iOS devices
Symptoms
- Source maps are uploaded
- Source maps are applied but all frames point to same location
-
hermes_debug_info
is set totrue
in theReact Native Context
section.
Resolution
Customer can do one of the two options:
- Use the source map generation and upload command described on this page. Remember that the release and dist values must match exactly.
- Or fix your Xcode project to output Hermes bundle without debug info, and then the uploaded source maps will work. The sentry-xcode script ensures the correct settings. The script is added to build during sentry-wizard configuration, as described on this step.