> For the complete documentation index, see [llms.txt](https://docs.mobguards.com/ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mobguards.com/ru/ios-usage/ios-installation.md).

# Описание и установка

BotProtection распространяется на платформу iOS в виде модуля. Чтобы добавить модуль, сначала необходимо установить CocoaPods и файлы инициализации модуля.

Если на вашем компьютере не установлены CocoaPods, вы можете установить его, выполнив следующую команду:

```bash
$ gem install cocoapods
```

Чтобы добавить модули в проект Xcode:

Перейдите к выходу из папки вашего проекта:

```bash
$ cd PATH_TO_YOUR_PROJECT_FOLDER
```

* Как только вы окажетесь в папке проекта, введите команду ниже, чтобы создать / инициализировать ваши файлы POD:

```bash
$ pod init
```

После запуска команды pod init вы заметите, что Podfile был добавлен в папку вашего проекта.

![](/files/-LzlQLqZT4Cf5r1K19r3)

Чтобы добавить модуль BotProtection, вам нужно открыть Podfile под вашим проектом и добавить`pod 'BotProtection'`:

![](/files/-LzlQNQtdNgp6tXg081x)

Затем выполните `pod install` для установки модуля BotProtection.

```bash
$ pod install
```

Для запуска проекта используйте файл `YourProject.xcworkspace` .


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mobguards.com/ru/ios-usage/ios-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
