Skip to content

Commit 911dedd

Browse files
committed
fix(pipeline): display workspace-scoped derivedDataPath in build header
The header fallback now reads derivedDataPath from the session store so the displayed path matches the actual build location when using workspace-scoped DerivedData.
1 parent 0cbb2e3 commit 911dedd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils/xcodebuild-pipeline.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { createXcodebuildRunState } from './xcodebuild-run-state.ts';
88
import type { XcodebuildRunState } from './xcodebuild-run-state.ts';
99
import { displayPath } from './build-preflight.ts';
1010
import { resolveEffectiveDerivedDataPath } from './derived-data-path.ts';
11+
import { sessionStore } from './session-store.ts';
1112
import { formatDeviceId } from './device-name-resolver.ts';
1213
import { createLogCapture, createParserDebugCapture } from './xcodebuild-log-capture.ts';
1314
import { log as appLog } from './logging/index.ts';
@@ -158,7 +159,8 @@ function buildHeaderParams(
158159

159160
// Always show Derived Data even if not explicitly provided
160161
if (!result.some((r) => r.label === 'Derived Data')) {
161-
result.push({ label: 'Derived Data', value: displayPath(resolveEffectiveDerivedDataPath()) });
162+
const effectivePath = resolveEffectiveDerivedDataPath(sessionStore.get('derivedDataPath'));
163+
result.push({ label: 'Derived Data', value: displayPath(effectivePath) });
162164
}
163165

164166
return result;

0 commit comments

Comments
 (0)