Skip to content

Conversation

floydkim
Copy link

@floydkim floydkim commented Oct 4, 2025

This PR fixes the guide for generating source maps during iOS builds.

Following the current guide as-is does not generate a source map file.
This diff adds export to the environment variable declaration so that child processes can read the SOURCEMAP_FILE variable.

If child processes can't read the SOURCEMAP_FILE, react-native-xcode.sh script will not recognize it, and -output-source-map option will not be added when executing hermesc.
As a result, the source map file is not generated.

export-sourcemap-env.mov

@meta-cla meta-cla bot added the CLA Signed label Oct 4, 2025
Copy link

netlify bot commented Oct 4, 2025

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 5ab565c
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/68e0ca159ce37d0008ea83b2
😎 Deploy Preview https://deploy-preview-4832--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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

Successfully merging this pull request may close these issues.

1 participant