Allow reusing Xcode.app's per-workspace DerivedData (avoid duplicate builds); static XCODEBUILDMCP_DERIVED_DATA_PATH can't map per workspace
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- build-system, tooling
Rechercherichtung
Beginne bei resolveEffectiveDerivedDataPath und überprüfe die mit #340 eingeführte Isolation pro Workspace. Untersuche, wie DerivedData-Ordner von Xcode.app WorkspacePath in info.plist bereitstellen, und lege anschließend fest, wie Matching und Fallback-Pfade funktionieren sollen. Als erledigt gilt die Aufgabe, wenn jeder Workspace sein GUI-DerivedData ohne Kollisionen wiederverwenden kann und Workspaces ohne vorhandenen Ordner eine deterministische Isolation behalten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Version: 2.7.0
Problem
For derived data the MCP currently offers two modes, neither of which lets agent builds share Xcode.app's DerivedData per workspace:
- Default: per-workspace isolation (#340), but under the MCP's own tree (
~/Library/Developer/XcodeBuildMCP/workspaces/<workspace>/DerivedData). This is separate from Xcode.app's~/Library/Developer/Xcode/DerivedData/<Workspace>-<hash>, so a project built both in the GUI and via the MCP is built and stored twice — double the disk and no incremental reuse across the two. XCODEBUILDMCP_DERIVED_DATA_PATH: a single static path applied to every call (resolveEffectiveDerivedDataPathreturns it verbatim). With multiple workspaces/worktrees, they all collide in one folder → build-product clobbering and full rebuilds.
Request
A mode to resolve derived data to the existing Xcode.app DerivedData folder for each workspace (e.g. matching WorkspacePath in each folder's info.plist), and/or per-workspace configurability instead of a single static override.
This would let a repo built in both Xcode and the MCP share one DerivedData per workspace — no duplication, true incremental reuse between interactive and agent builds.
Workaround
I currently achieve this with a client-side PreToolUse hook that rewrites each build/test call's derivedDataPath to the matching GUI folder (looked up via WorkspacePath in each folder's info.plist), falling back to a deterministic per-workspace path when no GUI folder exists yet. Happy to share it if useful.
Related
- #340 (per-workspace DerivedData isolation) — implemented isolation, but into the MCP's own tree rather than Xcode.app's.
- #283 (tilde expansion in config'd derived data path).
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.6k
- Forks
- 329
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus getsentry/MobileBuildMCP
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
getsentry/MobileBuildMCP#576 ·
-
Warden weekly sweepOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
getsentry/MobileBuildMCP#495 ·
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 42/100
getsentry/MobileBuildMCP#577 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
getsentry/MobileBuildMCP#575 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 65/100
getsentry/MobileBuildMCP#573 ·
Alle Issues in getsentry/MobileBuildMCP
Ähnliche Issues
-
sumHorizontal, maxHorizontal, minHorizontal, allHorizontal, anyHorizontal, struct and argSortBy treat strings as literals instead of column namesEvtl. vergeben @tomaionescu hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
pola-rs/nodejs-polars#486 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
jaegertracing/jaeger-ui#4853 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/plugins platform/linux reproduced type/bug version/v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
anomalyco/opencode#66970 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:tui enhancement platform:macos
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
anthropics/claude-code#112838 ·
-
approved check:passed streams:add
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag