You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: ACI-5273 doctor probes xcodebuild/xcrun resolve to the xcelerate wrapper (#453)
Warns when `activate xcode` has installed the wrapper but the current shell
still resolves `xcodebuild` or `xcrun` to /usr/bin — the case where the user
runs a build in the same shell they ran activate in and gets no cache.
Gated on Xcelerate being activated; skipped otherwise.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
returnResult{State: StateWarn, Detail: fmt.Sprintf("%s not on PATH — open a new terminal or `source ~/.zshrc` so the wrapper installed by `activate xcode` becomes visible", name)}, false
45
+
}
46
+
47
+
ifpathsEqual(actual, expected) {
48
+
returnResult{}, true
49
+
}
50
+
51
+
returnResult{State: StateWarn, Detail: fmt.Sprintf("%s resolves to %s; open a new terminal or `source ~/.zshrc` — your current shell hasn't picked up the wrapper PATH added by `activate xcode` (expected %s)", name, actual, expected)}, false
0 commit comments