Installation

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

Last updated