Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ BEGIN_UNRELEASED_TEMPLATE

### Fixed

* TBD
* Fixed Xcode navigation for stack trace paths with leading slash: [#3290](https://github.com/MobileNativeFoundation/rules_xcodeproj/issues/3290)

### Ruleset Development Changes

Expand Down Expand Up @@ -56,7 +56,7 @@ END_UNRELEASED_TEMPLATE

### Fixed

* TBD
* Fixed Xcode navigation for stack trace paths with leading slash: [#3290](https://github.com/MobileNativeFoundation/rules_xcodeproj/issues/3290)

### Ruleset Development Changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ echo "settings append target.source-map ./external/ \"$BAZEL_EXTERNAL\""
# `external` when set from swiftsourcefile
echo "settings append target.source-map ./external/ \"$build_external\""

# Workspace-relative paths with leading slash (e.g., /Projects/...)
# These appear in debug symbols and need to be mapped to the workspace root
echo "settings append target.source-map \"/\" \"$execution_root/\""

if [[ "${BAZEL_SEPARATE_INDEXBUILD_OUTPUT_BASE:-}" == "YES" ]]; then
readonly output_base="${execution_root%/*/*}"

Expand Down