---
page_source: https://docs.juspay.io/upi-inapp/ios/getting-the-sdk/getting-sdk
page_title: Installing the SDK
---


## Installing the SDK



For using the services provided by the SDK, client needs to implement certain APIs exposed by the SDK. These APIs are available through the SDK. It is a build time dependency which exposes certain classes for use across your application.

To install the SDK follow the below steps:


### Step 1 Add SDK dependency to Podfile


Hyper SDK is served via cocoa pods. In order to download and install the same to your application please add Hyper SDK pod to your pod file.



#### Code Snippets: -

#### Swift Code Snippet:

```swift
use_frameworks!


target '<project_target>' do       # To be added by merchant
  # Adding Hyper SDK dependecy
  # block:start:adding-hyper-sdk-pod
  pod 'HyperQR', '2.1.22'
  pod 'HyperSDK', '2.1.22'
  # block:end:adding-hyper-sdk-pod
end


# Adding Hyper SDK dependecy
# block:start:adding-plugin-installation-script
post_install do |installer|
 fuse_path = "./Pods/HyperSDK/Fuse.rb"
 clean_assets = false # Pass true to re-download all the assets
 if File.exist?(fuse_path)
   if system("ruby", fuse_path.to_s, clean_assets.to_s)
   end
 end
end
# block:end:adding-plugin-installation-script
```

#### Objective-C Code Snippet:

```objective-c
use_frameworks!


target '<project_target>' do       # To be added by merchant
  # Adding Hyper SDK dependecy
  # block:start:adding-hyper-sdk-pod
  pod 'HyperQR', '2.1.22'
  pod 'HyperSDK', '2.1.22'
  # block:end:adding-hyper-sdk-pod
end


# Adding Hyper SDK dependecy
# block:start:adding-plugin-installation-script
post_install do |installer|
 fuse_path = "./Pods/HyperSDK/Fuse.rb"
 clean_assets = false # Pass true to re-download all the assets
 if File.exist?(fuse_path)
   if system("ruby", fuse_path.to_s, clean_assets.to_s)
   end
 end
end
# block:end:adding-plugin-installation-script
```
