Add the SDK to your project

Before you can integrate the AwesomeAds SDK, you need to add the SDK to your project.

Source code for releases can be found here.

Add the SDK using Swift Package Manager

AwesomeAds uses Swift Package Manager (SPM) to distribute the AwesomeAds (iOS) Publisher SDK.

Add the package dependency

  1. In Xcode, go to File → Add Package Dependencies…
  2. Enter the following package URL:
    https://github.com/superawesome-org/sa-mobile-sdk-ios-spm
    
  3. Set the version rule to Up to Next Major Version with a minimum of 10.0.0.
  4. Click Add Package and select the SuperAwesome library to add to your target.

Import SDK

Import the main SDK header file:

import SuperAwesome
// As a header
#import "SuperAwesome.h"

// or as a framework

#import <SuperAwesome/SuperAwesome.h>

// or for the new module method:

@import SuperAwesome;