> 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 mediante un cable USB.
* Empareje el iPhone con Xcode en el Mac.

Utilice la documentación de Apple para estos pasos:

* [Guía de 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 app Console.
2. Seleccione su iPhone en **Dispositivos**.
3. Establezca el **Proceso** filtro en su aplicación de billetera digital.
4. Inicie la captura de registros.
5. Reproduzca el problema.
6. Haga clic en **Pausa** para detener la captura de registros.
7. Exporte el registro.

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

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

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 de API.

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

<figure><img src="https://1114080274-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bUtiXdSFHu8lmOj8A0X%2Fuploads%2FPgXOcP60F63GZT60doyC%2Fimage.png?alt=media&amp;token=a82680dc-87ae-429a-9a0e-638da3583938" 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, and the optional `goal` 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>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
