> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/nfc-wallet-sdk-ios/es/help/knowledge-base/retrieve-logs-from-an-ios-device.md).

# Recuperar registros de un dispositivo iOS

### Requisitos previos

Antes de capturar registros desde un dispositivo iOS, complete la siguiente configuración:

* Conecte el iPhone a su Mac usando un cable USB.
* Empareje el iPhone con Xcode en la Mac.

Use la documentación de Apple para estos pasos:

* [Guía del usuario de Console](https://support.apple.com/en-sg/guide/console/welcome/mac)
* [Compartir mensajes de registro, actividades o informes en Console en Mac](https://support.apple.com/en-us/guide/console/cnsl2356/1.1/mac/11.0)

### Pasos recomendados para capturar registros

1. Abra la aplicación Console.
2. Seleccione su iPhone en **Dispositivos**.
3. Configure el **Proceso** filtro a su aplicación de billetera digital.
4. Comience a capturar registros.
5. Reproduzca el problema.
6. Haga clic en **Pausa** para detener la captura de registros.
7. Exporte el registro.

{% hint style="info" %}
Para los registros más detallados, use una compilación de su aplicación de billetera digital que integre el NFC Wallet SDK **Depuración** compilación.

Vea [Entregables](/nfc-wallet-sdk-ios/es/general/deliverables.md) para los tipos de compilación compatibles.

Capture registros solo alrededor del flujo que falla. Comience justo antes de los pasos. Deténgase justo después.
{% endhint %}

### Verificar la configuración

Para verificar la configuración, llame a `DigitalCardManager.cardList` como se describe en [Mostrar tarjetas digitales](/nfc-wallet-sdk-ios/es/implement-nfc-wallet/manage-digital-cards/display-digital-cards.md).

Con la configuración correcta, el registro exportado incluye:

* Cada línea comienza con `[TSHPaySDK]`.
* Cada línea incluye una marca de tiempo y un mensaje que indica la llamada a la API.

El siguiente ejemplo muestra la salida de Console con estas características:

<figure><img src="/files/7f019be86020cc6ca93520a4bb6fbd5bdb295fcf" alt=""><figcaption><p>Ejemplo de salida de Console que muestra registros del NFC Wallet SDK (<code>[TSHPaySDK]</code>).</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payments.thalescloud.io/nfc-wallet-sdk-ios/es/help/knowledge-base/retrieve-logs-from-an-ios-device.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
