> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing the iOS SDK

Next, you can embed the SDK in your iOS app to
store card details, authorize payments, and capture a transaction.

## Add the SDK

The [iOS SDK](https://github.com/gr4vy/gr4vy-ios) is available as a CocoaPods pod
and can be set up as follows.

```ruby Podfile theme={"system"}
use_frameworks!

target 'TARGET_NAME' do
    pod 'gr4vy-ios', '1.3.0'
end
```

<Note>
  Replace `TARGET_NAME` with your own build target. Please check [GitHub](https://github.com/gr4vy/gr4vy-ios) for
  the latest version of the SDK.
</Note>

Then, in the `Podfile` directory type the following command.

```sh theme={"system"}
pod install
```

On M1 Macs please add `arch -x86_64` to the command.

```sh theme={"system"}
arch -x86_64 pod install
```
