Remapping of external sources in the index is done by replacing the path with xcodeOutputBase, which is built by removing paths from xcodeExecutionRoot. However, when split() is called, the leading / from xcodeExecutionRoot is lost, which was causing index-import to not translate these files correctly.
Remapping of external sources in the index is done by replacing the path with
xcodeOutputBase
, which is built by removing paths fromxcodeExecutionRoot
. However, whensplit()
is called, the leading/
fromxcodeExecutionRoot
is lost, which was causingindex-import
to not translate these files correctly.