Skip to content

Fix Xcode navigation to symlinked external source files - #3343

Open
adincebic wants to merge 1 commit into
mainfrom
adin/fix-symlinked-external-sources
Open

adincebic wants to merge 1 commit into
mainfrom
adin/fix-symlinked-external-sources

Conversation

@adincebic

@adincebic adincebic commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Some libraries like RxSwift ship symlinks in their repositories. We noticed that it causes problems when navigating to the symlinked sources when they are in Bazel's external repositories directory via "jump to definition". Typically it works the first time and second time Xcode refuses to jump.

I traced the issue to the resolution of the symlinks where we resolved the file symlink but leave the parent directory unresolved, which causes Xcode to open sources at paths that don't match their build settings and break navigation.

so we now resolve the parent directory symlinks too.

Signed-off-by: Adin Cebic <cebic.ad@gmail.com>
@adincebic
adincebic requested a review from a team as a code owner September 17, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant