Installation
iOS - CocoaPods
Install the Superwall iOS SDK via CocoaPods. To see the latest release, check out the repository.
Install via CocoaPods
First, add the following to your Podfile:
pod 'SuperwallKit', '< 4.0.0'
Next, run pod repo update
to update your local spec repo. Why?
Finally, run pod install
from your terminal.
Updating to a New Release
To update to a new beta release, you’ll need to update the version specified in the Podfile and then run pod install
again.
Import SuperwallKit
You should now be able to import SuperwallKit
:
Swift:
import SuperwallKit
Objective-C:
@import SuperwallKit;
And you’re done! Now you’re ready to configure the SDK 👇