Swift Package Manager
Add AATKit to your app using Swift Package Manager
Last updated
Add AATKit to your app using Swift Package Manager
Last updated
A swift package manager that wraps AATKit and ad networks.
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/AATKitSPM
and select AATKitSPM.
Set the dependency rule to "Exact Version" and specify the desired AATKit version (refer to the 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".
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.
Choose AATKit-Core
and AATKit-Default
like the following:
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:
Please configure your Google Mobile Ads SDK as described here.