Swift Package Manager

Add AATKit to your app using Swift Package Manager

A swift package manager that wraps AATKit and ad networks.

Integration Steps

  1. Open your Xcode project, navigate the File tab within the macOS bar, and click on “Add Packages”.

  2. Enter https://github.com/AddApptr/AATKitSPM in the URL field and choose AATKitSPM.

  3. Switch to the exact version and enter the AATKit version. You can find the latest AATKit SPM releases here.

  4. Click on next and wait until fetching is completed.

  5. Now there are 2 ways of integration:

Integrate AATKit with all default ad network SDKs:

  • Select AATKit-Core and AATKit-Default.

Integrate AATKit with specific ad network SDKs:

  • Select AATKit-Core.

  • Select the ad networks you want by selecting AATKit-<ADNETWORK> (Replace <ADNETWORK> with the proper Ad Network).

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.

Configure Google Ads SDK

Please configure your Google Mobile Ads SDK as described here.

Last updated