Delete Crash Reports
idb-crash-deleteDelete crash reports from a simulator to establish a clean baseline before test runs, ensuring any crash found afterward belongs to that run. Choose by name, bundle ID, or delete all reports permanently.
Instructions
idb-crash-delete
Delete crash reports from a simulator.
Overview
Mainly useful for establishing a clean baseline before a test run, so that any crash found afterwards is known to belong to that run. Deletion is permanent.
Parameters
Optional (exactly one selector required)
name (string): Delete one specific report, by name from idb-crash-list
bundleId (string): Delete all reports for one bundle
all (boolean): Delete every crash report on the target
udid (string): Target identifier - auto-detects if omitted
Returns
Confirmation with the selector used and the raw idb output.
Examples
Clean baseline before a test run
await idbCrashDeleteTool({ bundleId: 'com.example.MyApp' });
// ... run the test ...
await idbCrashListTool({ bundleId: 'com.example.MyApp' }); // anything here is from this runRelated Tools
idb-crash-list: Inspect before deleting
Notes
Destructive and irreversible: clients may gate this behind confirmation.
Requires exactly one of name / bundleId / all, to avoid deleting more than intended.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Delete every crash report on the target | |
| name | No | Delete one report by name | |
| udid | No | ||
| bundleId | No | Delete all reports for this bundle id |