> For the complete documentation index, see [llms.txt](https://docs.sentiance.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sentiance.com/a-complete-integration/ios-sdk/include-sdk/using-cocoapods.md).

# Using CocoaPods

[CocoaPods](http://cocoapods.org/) is a dependency manager for Objective-C and Swift, which automates and simplifies the process of using 3rd-party libraries in your projects. See the [Get Started](http://cocoapods.org/#get_started) section for more details.

{% hint style="warning" %}
Before starting to prepare for the installation, please make sure that **CocoaPods** **1.10.0** or above is installed on your machine.
{% endhint %}

**Podfile**

If your project is already using CocoaPods, simply add these lines below in your podfile:

```
platform :ios, '12.0'

pod 'SENTSDK', '~>x.y.z'
```

You can obtain the latest version of our iOS SDK from our [changelog page](/important-topics/sdk/changelog/ios.md).

Run the following command from terminal:

```
pod install --repo-update
```


---

# 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.sentiance.com/a-complete-integration/ios-sdk/include-sdk/using-cocoapods.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.
