Wiki

Clone wiki

AATKit iOS / Swift Package Manager

  1. Project Setup
  2. AATKit Initialisation
  3. Banner Integration
  4. Fullscreen Integration
  5. APP Open Integration
  6. Native Ads Integration
  7. Native Ads Integration - special ad network characteristics
  8. Promo Screen
  9. Sample
  10. Disable App Transport Security (ATS)
  11. Facebook Integration
  12. Advanced Features
  13. Targeting
  14. Frequency Capping
  15. Header documentation
  16. Updating the AATKit
  17. Important Remarks
  18. Using the AATKit with Swift
  19. AATKit's Size within your app
  20. What is an AdSpace?
  21. Network-specific Problems
  22. Listen to impression level information

AATKit using Swift Package Manager

A swift package manager that wraps AATKit and AdNetworks (Only AdNetworks with xcframework format are considered)

Integration Steps

  1. In your project, click on the Project and choose your project
  2. Go to Swift Packages tab
  3. Click on the plus icon
  4. Enter https://github.com/AddApptr/AATKitSPM in the url field
  5. Switch to exact version and enter the desired version
  6. Click on next and wait until fetching completed
  7. Now we have two options to integrate AATKit and the Ad Networks

Integrate AATKit with all Ad Networks

  • Integrate AATKit for Intel machines

    • Select AATKit-Core
    • Select AATKit-Default (This will download all Ad Networks)
  • Integrate AATKit for M1 machines

    • Select AATKit-M1-Core
    • Select AATKit-M1-Default (This will download all Ad Networks)

Integrate AATKit with specific Ad Networks

  • Integrate AATKit for Intel machines

    • Select AATKit-Core
    • Select AATKit-ADNETWORK (Replace <AD_NETWORK> with the desired Ad Network)
    • Repeat the previous step for each Ad Network you want to add
  • Integrate AATKit for M1 machines

    • Select AATKit-M1-Core
    • Select AATKit-ADNETWORK (Please choose only Ad Networks that supports M1 machines, you can check the latest status from this sheet)
    • Repeat the previous step for each Ad Network you want to add
  1. Click on finish

Important Note

You have to add -ObjC in 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"

Updated