Linux command
idevicecrashreport 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Move crash reports
idevicecrashreport [output-dir]
Copy crash reports
idevicecrashreport -k [output-dir]
Extract raw crash reports
idevicecrashreport -e [output-dir]
Filter crash reports
idevicecrashreport -f [app-name] [output-dir]
Remove all crash logs
idevicecrashreport --remove-all
Target a specific device
idevicecrashreport -u [device-udid] [output-dir]
Connect to a network device
idevicecrashreport -n [output-dir]
说明
idevicecrashreport is a simple utility to move crash reports from an iOS device to a local directory. Part of the libimobiledevice suite. By default it moves reports (deleting them from the device); use -k to copy instead. It downloads .crash, .ips, and related diagnostic files. Useful for debugging app crashes without iTunes or Xcode. Output lines are prefixed with "Link:", "Copy:", or "Move:" depending on whether a symlink was created, a file was copied, or moved from the device.
参数
- -u, --udid _UDID_
- Target specific device by UDID.
- -n, --network
- Connect to network device.
- -e, --extract
- Extract raw crash report into separate '.crash' files.
- -k, --keep
- Copy but do not remove crash reports from device.
- -f, --filter _NAME_
- Filter crash reports by NAME (case sensitive).
- --remove-all
- Remove all crash log files without copying. Can be used with -f to only remove matching files.
- -d, --debug
- Enable communication debugging.
- -h, --help
- Print usage information.
- -v, --version
- Print version information.
FAQ
What is the idevicecrashreport command used for?
idevicecrashreport is a simple utility to move crash reports from an iOS device to a local directory. Part of the libimobiledevice suite. By default it moves reports (deleting them from the device); use -k to copy instead. It downloads .crash, .ips, and related diagnostic files. Useful for debugging app crashes without iTunes or Xcode. Output lines are prefixed with "Link:", "Copy:", or "Move:" depending on whether a symlink was created, a file was copied, or moved from the device.
How do I run a basic idevicecrashreport example?
Run `idevicecrashreport [output-dir]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -u, --udid _UDID_ do in idevicecrashreport?
Target specific device by UDID.