CocoaPods

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:

import SuperwallKit
@import SuperwallKit;

πŸ€”

Looking for Xcode 12 support?

If you require Xcode 12 support, (for SDK versions 2.2.0 or greater), append -xcode-12 to any version you'd like to use in your Podfile, then follow the steps above. For example: pod 'SuperwallKit', '3.0.0-xcode-12'


What’s Next