> 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). Agents can also search and read this documentation through its [MCP server](https://docs.payments.thalescloud.io/~gitbook/mcp).

# Recuperar registros de un dispositivo iOS

### Requisitos previos

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

* Conecta el iPhone a tu Mac con un cable USB.
* Enlaza el iPhone con Xcode en la Mac.

Consulta la documentación de Apple para seguir estos pasos:

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

### Pasos recomendados para capturar registros

1. Abre la app Consola.
2. Selecciona tu iPhone en **Dispositivos**.
3. Establece el filtro **Proceso** para que corresponda a tu aplicación de billetera digital.
4. Empieza a capturar registros.
5. Reproduce el problema.
6. Haz clic en **Pausar** para dejar de capturar registros.
7. Exporta el registro.

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

Consulta [Entregables](https://docs.payments.thalescloud.io/nfc-wallet-sdk-ios/es/general/deliverables.md) para ver los tipos de compilación compatibles.

Captura registros solo durante el flujo que falla. Empieza justo antes de realizar los pasos y detente justo después.
{% endhint %}

### Verificar la configuración

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

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

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

El siguiente ejemplo muestra una salida de Consola 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 Consola 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
