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

Missing Instructions for iOS Source Map Upload in React Native Migration Guide (5.x to 6.x) #11829

Open
mbellagamba opened this issue Nov 15, 2024 · 1 comment

Comments

@mbellagamba
Copy link

SDK

React Native SDK

Description

Summary

The current migration guide for upgrading Sentry in React Native projects from version 5.x to 6.x lacks instructions for updating the iOS project configuration related to source map uploads. This omission results in an incomplete migration guide and may lead to broken Release builds for iOS.

Description

The migration guide does not mention the need to update the "Bundle React Native code and images" build phase in the iOS project file to configure automatic source map uploads. This step is critical and is documented in the Manual Configuration section of the Sentry documentation.
Without these changes: debug builds in the iOS simulator function correctly, masking the problem but release archives crash on startup because the JS bundle is not correctly generated.

Suggested Solution

Update the React Native migration guide for version 5.x to 6.x to include clear steps for modifying the "Bundle React Native code and images" build phase, ensuring the necessary changes are included during migration.

Suggested Solution

No response

@getsantry
Copy link
Contributor

getsantry bot commented Nov 15, 2024

Assigning to @getsentry/support for routing ⏲️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Support
Status: Needs Discussion
Development

No branches or pull requests

2 participants