xcresult_export_attachment
Extract and export specific attachments from Xcode .xcresult files by index. Converts App UI hierarchy attachments to JSON format for easier analysis and debugging.
Instructions
Export a specific attachment by index - can convert App UI hierarchy attachments to JSON
Input Schema
Name | Required | Description | Default |
---|---|---|---|
attachment_index | Yes | Index number of the attachment to export (1-based, from xcresult-list-attachments) | |
convert_to_json | No | If true and attachment is an App UI hierarchy, convert to JSON format | |
test_id | Yes | Test ID or index number that contains the attachment | |
xcresult_path | Yes | Absolute path to the .xcresult file |