iOS Simulator: List Crash Logs
ios_simulator_list_crash_logsList crash reports from simulator processes, newest first. A simulator app's crash is written by this Mac into ~/Library/Logs/DiagnosticReports alongside the Mac's own crashes; this keeps only the simulators' and says which simulator each…
Instructions
List crash reports from simulator processes, newest first. A simulator app's crash is written by this Mac into ~/Library/Logs/DiagnosticReports alongside the Mac's own crashes; this keeps only the simulators' and says which simulator each came from. Most of them are the simulators' own system daemons, so pass process to find your app's. Read one with ios_simulator_get_crash_log. Nothing needs to be booted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Report kinds to include, e.g. ["crash"]. Defaults to ["crash", "jetsam", "user_fault"]; kinds without a name come back as "bug_type_<n>". Pass ["all"] for everything. | |
| limit | No | Maximum reports to return, newest first (1-200). Defaults to 20. | |
| device | No | Only reports from this simulator, by UDID or name as shown by ios_simulator_list. Omit for every simulator's — unlike the other tools, this does not default to the booted one, since a crash often outlives the boot it happened in. | |
| process | No | Case-insensitive substring of the process name or bundle id, e.g. "Canopy" or "io.mgcrea". The process name is the app's executable name, usually but not always its display name. |