Skip to content

feature: ios sourcemap upload script fails debug builds and manual runs - #395

Merged
KishanPRao merged 1 commit into
mainfrom
feature/ios-sourcemap-upload-dbg
Sep 9, 2026
Merged

feature: ios sourcemap upload script fails debug builds and manual runs#395
KishanPRao merged 1 commit into
mainfrom
feature/ios-sourcemap-upload-dbg

Conversation

@KishanPRao

@KishanPRao KishanPRao commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Debug iOS builds no longer fail on the Backtrace source map upload phase, and the upload script now runs outside Xcode.

Changes

  • packages/react-native/scripts/ios-sourcemap-upload.sh: skips Debug and SKIP_BUNDLING builds (dev bundles get no debug id), reports a missing source map, debug id, config, backtrace-js or node as an Xcode warning instead of a build failure, keeps them as errors outside Xcode, reads NODE_BINARY from ios/.xcode.env instead of $REACT_NATIVE_PATH/scripts/node-binary.sh.
  • packages/react-native/tests/scripts/iosSourcemapUploadScript.spec.ts: new, covers Debug/Release/custom configurations, SKIP_BUNDLING, missing inputs, .xcode.env node resolution, DEBUG_ID_PATH, upload failure, and manual runs.

ref: BT-7405

@KishanPRao
KishanPRao requested a review from melekr September 8, 2026 13:05
@KishanPRao KishanPRao self-assigned this Sep 8, 2026
@KishanPRao KishanPRao added the enhancement New feature or request label Sep 8, 2026

@melekr melekr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@KishanPRao
KishanPRao marked this pull request as ready for review September 9, 2026 10:29
@KishanPRao
KishanPRao merged commit 95e59a7 into main Sep 9, 2026
12 checks passed
@KishanPRao
KishanPRao deleted the feature/ios-sourcemap-upload-dbg branch September 9, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants