# Installation with CocoaPods

{% hint style="danger" %}
This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to https://docs.sentiance.com.
{% endhint %}

[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, '9.0'
pod 'SENTSDK'
```

<details>

<summary>Building for the arm64 (M1 Mac) simulator</summary>

The Sentiance SDK supports the arm64 simulator architecture. However, it has a dependency on TensorFlow Lite v2.7.0, which does not support it yet. To address this limitation, use our custom TensorFlow Lite v2.7.0 framework:

{% code title="Podfile" %}
```
pod 'TensorFlowLiteC', :podspec => 'https://sentiance-u1-sdk-downloads.s3.eu-west-1.amazonaws.com/ios/frameworks/TensorFlowLiteC/2.7.0/TensorFlowLiteC.podspec'
```
{% endcode %}

More information on this can be found on [this page](../../../appendix/ios/m1-simulator-support).

</details>

Then run the following command from Terminal:

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

{% hint style="info" %}
The Sentiance SDK has a dependency on v2.7.0 of the TensorFlowLiteC framework, which does not support M1 Mac simulators. You can make use of our custom TensorFlowLite framework, to run your app on M1 Mac simulators. See [this page](../../../appendix/ios/m1-simulator-support).
{% endhint %}
