> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/ios-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aatkit.gitbook.io/ios-integration/start/setup/swift-package-manager.md).

# Swift Package Manager

A swift package manager that wraps AATKit and ad networks.

### Integration Steps <a href="#integration-steps" id="integration-steps"></a>

* Open your Xcode project, navigate the File tab within the macOS bar, and click on “Add Packages”.
* In the URL field, enter: `https://github.com/AddApptr/AATKit` and select **AATKit**.
* Set the dependency rule to **"Exact Version"** and specify the desired AATKit version (refer to the [release notes](https://aatkit.gitbook.io/release-notes) for the latest stable version).
* Click **Next** and wait for the package to finish fetching.
* When prompted to choose a target, leave it unselected and click **"Add Package"**.

<figure><img src="/files/X5FCxhAffW7QKH63McXC" alt="" width="563"><figcaption></figcaption></figure>

* Switch to project and choose your target then general.
* Add the required AATKit dependencies under "**Frameworks, Libraries, and Embedded Content"** depending on which libraries you intend to include in your project.

#### Integrate AATKit with all default ad network SDKs:

* Choose `AATKit-Core` and `AATKit-Default` like the following:

<figure><img src="/files/idJS8daZficVEwvAT7MW" alt=""><figcaption></figcaption></figure>

#### Integrate AATKit with specific ad network SDKs: <a href="#integrate-aatkit-with-specific-a-d-network-sdks" id="integrate-aatkit-with-specific-a-d-network-sdks"></a>

* Select `AATKit-Core` and all ad networks you want by selecting `AATKit-<AD_NETWORK>` (Replace <`AD_NETWORK`> with the proper Ad Network) like the following:

<figure><img src="/files/zywWozx2TOAETufT1AM3" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You have to add `-ObjC` to your build settings (Other Linker Flags) by following these steps:

* Click on the project navigator.
* Click on your target and build settings.
* Search for "other linker flags".
* Add `-ObjC`.
  {% endhint %}

### Configure Google Ads SDK <a href="#add-an-optional-a-d-network" id="add-an-optional-a-d-network"></a>

Please configure your Google Mobile Ads SDK as described [here](/ios-integration/ad-networks/google-mobile-ads-sdk.md).
