Skip to content

Commit 1ba6b76

Browse files
authored
refactor(1/12): remove deprecated logging tools (#319)
* refactor: remove deprecated logging tools and manifests * fix: remove logging CLI command references from docs The docs check was failing because docs/CLI.md still referenced the deleted logging CLI commands (start-simulator-log-capture, stop-simulator-log-capture).
1 parent b6f49dd commit 1ba6b76

24 files changed

+2
-3153
lines changed

docs/CLI.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,6 @@ xcodebuildmcp simulator launch-app --simulator-id <UDID> --bundle-id io.sentry.M
7777
xcodebuildmcp simulator build-and-run --scheme MyApp --project-path ./MyApp.xcodeproj
7878
```
7979

80-
### Log Capture Workflow
81-
82-
```bash
83-
# Start log capture
84-
xcodebuildmcp logging start-simulator-log-capture --simulator-id <UDID> --bundle-id io.sentry.MyApp
85-
86-
> Log capture started successfully. Session ID: 51e2142a-1a99-442a-af01-0586540043df.
87-
88-
# Stop and retrieve logs
89-
xcodebuildmcp logging stop-simulator-log-capture --session-id <SESSION_ID>
90-
```
91-
9280
### Testing
9381

9482
```bash
@@ -219,7 +207,6 @@ Most tools run directly without the daemon:
219207
220208
### Stateful Tools (require daemon)
221209
Some tools maintain state and route through the daemon:
222-
- Log capture: `start-simulator-log-capture`, `stop-simulator-log-capture`
223210
- Video recording: `record-video`
224211
- Debugging: `attach`, `continue`, etc.
225212
- Background processes: `run`, `stop`

manifests/tools/build_run_device.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ annotations:
1212
destructiveHint: false
1313
openWorldHint: false
1414
nextSteps:
15-
- label: Capture device logs
16-
toolId: start_device_log_cap
17-
priority: 1
1815
- label: Stop app on device
1916
toolId: stop_app_device
20-
priority: 2
17+
priority: 1

manifests/tools/build_run_sim.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@ annotations:
1212
destructiveHint: false
1313
openWorldHint: false
1414
nextSteps:
15-
- label: Capture structured logs (app continues running)
16-
toolId: start_sim_log_cap
17-
priority: 1
1815
- label: Stop app in simulator
1916
toolId: stop_app_sim
20-
priority: 2
21-
- label: Capture console + structured logs (app restarts)
22-
toolId: start_sim_log_cap
23-
priority: 3
24-
- label: Launch app with logs in one step
25-
toolId: launch_app_logs_sim
26-
priority: 4
17+
priority: 1

manifests/tools/launch_app_logs_sim.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

manifests/tools/launch_app_sim.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,3 @@ nextSteps:
1313
- label: Open Simulator app to see it
1414
toolId: open_sim
1515
priority: 1
16-
- label: Capture structured logs (app continues running)
17-
toolId: start_sim_log_cap
18-
params:
19-
simulatorId: SIMULATOR_UUID
20-
bundleId: BUNDLE_ID
21-
priority: 2
22-
- label: Capture console + structured logs (app restarts)
23-
toolId: start_sim_log_cap
24-
params:
25-
simulatorId: SIMULATOR_UUID
26-
bundleId: BUNDLE_ID
27-
captureConsole: true
28-
priority: 3

manifests/tools/open_sim.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,3 @@ nextSteps:
1515
params:
1616
simulatorId: UUID_FROM_LIST_SIMS
1717
priority: 1
18-
- label: Capture structured logs (app continues running)
19-
toolId: start_sim_log_cap
20-
params:
21-
simulatorId: UUID
22-
bundleId: YOUR_APP_BUNDLE_ID
23-
priority: 2
24-
- label: Capture console + structured logs (app restarts)
25-
toolId: start_sim_log_cap
26-
params:
27-
simulatorId: UUID
28-
bundleId: YOUR_APP_BUNDLE_ID
29-
captureConsole: true
30-
priority: 3
31-
- label: Launch app with logs in one step
32-
toolId: launch_app_logs_sim
33-
params:
34-
simulatorId: UUID
35-
bundleId: YOUR_APP_BUNDLE_ID
36-
priority: 4

manifests/tools/start_device_log_cap.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

manifests/tools/start_sim_log_cap.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

manifests/tools/stop_device_log_cap.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

manifests/tools/stop_sim_log_cap.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)