Skip to content

feature: upload ios source maps from archived builds - #403

Merged
KishanPRao merged 1 commit into
mainfrom
feature/improve-ios-upload-path
Oct 1, 2026
Merged

KishanPRao merged 1 commit into
mainfrom
feature/improve-ios-upload-path

Conversation

@KishanPRao

Copy link
Copy Markdown
Collaborator

Summary

The example iOS build phase passes $CONFIGURATION_BUILD_DIR/.backtrace-sourcemap-id, the file the bundle step writes under Product > Archive, and the upload script names that path when a project still passes $TARGET_BUILD_DIR.

Changes

  • packages/react-native/scripts/ios-sourcemap-upload.sh: when the debug id file is missing but exists in $CONFIGURATION_BUILD_DIR, warn with that location and the path to pass, document the path for the debug id argument.
  • packages/react-native/tests/scripts/iosSourcemapUploadScript.spec.ts: cover the new warning.
  • examples/sdk/reactNative/ios/reactNative.xcodeproj/project.pbxproj: pass $CONFIGURATION_BUILD_DIR/.backtrace-sourcemap-id.
  • examples/sdk/reactNative/README.md: same path, note on the Archive folder.

Note

Projects that copied the old build phase still have to switch the path themselves, the warning names it.

ref: BT-7715

@KishanPRao
KishanPRao requested a review from melekr October 1, 2026 15:22
@KishanPRao KishanPRao self-assigned this Oct 1, 2026
@KishanPRao KishanPRao added the enhancement New feature or request label Oct 1, 2026
@KishanPRao
KishanPRao marked this pull request as ready for review October 1, 2026 16:47
@KishanPRao
KishanPRao merged commit dfa320f into main Oct 1, 2026
12 checks passed
@KishanPRao
KishanPRao deleted the feature/improve-ios-upload-path branch October 1, 2026 17:00
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