> 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/click-to-pay/es/integrate-the-d1-sdk/getting-started/configuration/1.-binary-integration/ios.md).

# iOS

This guide is tested with:

* Xcode 16.1
* Swift 6.0.2

To integrate D1 SDK into your issuer application:

{% stepper %}
{% step %}

### Copy the D1 SDK frameworks

Copy the `D1` folder (including `D1.xcframework` and dependencies) into your project.

<figure><img src="/spaces/62lLFDcmLCeqqwmy4Fee/files/qyUMpiRE0Npgfo0i3Uiw" alt=""><figcaption><p>D1 SDK frameworks added to the project.</p></figcaption></figure>
{% endstep %}

{% step %}

### Open your target settings

In Xcode, open your app target, then select **General**.
{% endstep %}

{% step %}

### Embed the frameworks

Drag and drop **all** frameworks from your configuration directory into **Frameworks, Libraries, and Embedded Content**.

<figure><img src="/spaces/62lLFDcmLCeqqwmy4Fee/files/8aWLvnH6JKmit8HT73Dp" alt=""><figcaption><p>Frameworks embedded in the target settings.</p></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Note**

* During SDK version updates, ensure that you replace D1 SDK and all existing dependency SDKs with the newer copies.
* `TPCSDKSwift.xcframework` and `D1Core.xcframework` are no longer required as they are now included in the SDK delivery.
* `IdCloudClient.xcframework` is only available for EMV 3-D Secure (3DS).
  {% endhint %}

{% hint style="danger" %}
**Warning**

Use Release frameworks when submitting your application to the App Store. Use Debug frameworks only for development purposes.
{% endhint %}


---

# 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/click-to-pay/es/integrate-the-d1-sdk/getting-started/configuration/1.-binary-integration/ios.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.
