✨
BotProtection
  • What is BotProtection?
  • Backend integration
    • Architecture
    • Dashboard Description
  • Android usage
    • Installation
    • SDK usage (Kotlin)
  • iOS usage
    • Installation
  • JWT
  • JWT token
    • Python
    • NodeJS
  • Async method api
    • API Description
  • Example of integration
    • For market
Powered by GitBook
On this page

Was this helpful?

  1. iOS usage

Installation

PreviousSDK usage (Kotlin)NextJWT token

Last updated 5 years ago

Was this helpful?

BotProtection is distributed to the iOS platform as a pod. To add a pod, you first need to install CocoaPods and init pod files.

If you don’t have CocoaPods installed on your machine, you can install it by running the following command:

$ gem install cocoapods

To add pods to your Xcode project:

  • Go to your project folder

$ cd PATH_TO_YOUR_PROJECT_FOLDER
  • Once you are inside the project folder, type the command below to create/initialize your POD files:

$ pod init

After running the pod init command you will notice that a Podfile was added to your project’s folder.

To add BotProtection pod, you need to open Podfile under your project and add pod 'BotProtection':

Then, execute pod install to install BotProtection pod.

$ pod install