Cheetah Digital Utils iOS

The Cheetah Digital Utils iOS SDK contains a collection of classes, methods, and protocols that are generally used across all other Cheetah Digital iOS SDKs.

Requirements

  • Deployment Target: iOS 11.0
  • Xcode 11.x
  • Swift 5.1

Installation

Cocoapods

  1. Open a terminal window then add the private podspec repo to the Cocoapods installation by entering the following:
pod repo add CheetahDigitalSDK https://github.com/LoyalSphere/cheetah-loyalty-ios-sdk-podspecs.git
  1. Add a source for the CheetahDigitalSDK and add the CheetahDigitalUtils pod in your podfile:
platform :ios, '11.0'

source 'https://github.com/LoyalSphere/cheetah-loyalty-ios-sdk-podspecs.git'
source 'https://github.com/CocoaPods/Specs.git'

target '<YourApp>' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  pod 'CheetahDigitalUtils'
end
  1. Open a terminal window to where your project and podfile is located and run the following to install the pod:
pod install

Manually

  1. Download the CheetahDigitalUtils SDK from the releases.
  2. Extract it then drag & drop CheetahDigitalUtils.framework to your project’s directory.
  3. In “Frameworks, Libraries, and Embedded Content” section under the “General” tab, click on the “+” button then “Add Other”, and then “Add Files…”.
  4. Select the CheetahDigitalUtils.framework file and make sure that it is set to “Embed & Sign” in the “Embed” column in the “Frameworks, Libraries, and Embedded Content” section under the “General” tab.

More

You can also check out our API Reference for more detailed information about our SDK.