> For the complete documentation index, see [llms.txt](https://ca-docs.adster.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ca-docs.adster.tech/custom-adapter-integration/ios.md).

# iOS

**Installation via SPM**

1. In Xcode, install the AdSter custom adapter SDK Swift Package by navigating to **File > Add Package Dependencies.**
2. In the prompt that appears, search for the below GitHub repository: <https://github.com/adster-tech/orchestration-sdk-ios>
3. Select the version of the AdSter SDK Swift Package you want to use. For new projects, we recommend using the **Up to Next Major Version**.

**Installation via CocoaPods**

To integrate AdSter  custom adapter SDK into your Xcode project using CocoaPods, follow these steps:

1. Open your project's Podfile and add:

   Copy

   ```
   pod 'Adster', '~> 1.4.0'
   ```
2. Run the following command in the terminal:

   Copy

   ```
   pod install
   ```
3. After installation, close Xcode and open the .xcworkspace file instead of .xcodeproj.


---

# 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://ca-docs.adster.tech/custom-adapter-integration/ios.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.
