Integrate iOS SDK
SDK Integration steps to enable iOSpush notification in your native iOS app.
Installation
There are two ways you can install SuprSend SDK into your app:
Using Cocoapods
Using Cocoapods
Add the below pods to your pod file.
Install pods in the project using the below command in the terminal.
Manual Installation
Manual Installation
Download these two zip files
SuprSendSdk.xcframework.zip and SuprsendCore.xcframework.zip and unzip/ extract them and move them to your project folder.
Select your target project
Select your project target and move to the section Frameworks, Libraries, and Embedded Content
Click on the + button --> Add Other --> Add Files
Navigate to your project folder
After navigating to the project folder, select SuprSendSdk.xcframework
and SuprsendCore.xcframework
Initialization
Add the below lines of code in your AppDelegate.swift.
Replace <workspace_key>
and <workspace_secret>
with the keys linked to your SuprSend account. You can find it on SuprSend dashboard (Developers -> API Keys) section.