Get the XCFramework files.
First you should add the Safous WAAP SDK into your project, which in this case you need a .xcframework file. Visit WAAP Admin Portal to get the latest version of our SDK.
Embedded the SDK in your Project via Xcode.
After obtaining the SDK from Admin Portal, now open your project from Xcode IDE. Then click the Project in Navigation Area on left side. After that, click Targets section. The General tab setup for your project will shown.
On General tab, find Frameworks, Libraries, and Embedded Content Section. Click Add icon to show popup that all default Frameworks or Libraries can be added into your project.
Then click Add others on bottom of the Popup. After that, choose SafousWaap .xcframework file from your Finder. Now you already embed Safous Waap SDK on your Project.
Check the SDK are done by import the SafousWaap package in your codebase. For instance, add the Safous package into your ViewController. As example, take a look syntax and image below.
import SafousWaap
Environment Setup.
Safous WAAP requires you to setup the environment for access on your project. You will need certificate with .p12 format and safouswaap.ini file configuration. For all those pre-requisition, Visit WAAP Admin Portal to generate certificate and .ini file for your Project.
Generate safouswaap.ini file from Admin Portal
To get the safouswaap.ini file from Admin Portal, you need to set the certificate passphrase and directory path.
Passphrase: <your_certificate_passphrase>
Path: data/user/0/<your_project_package>/files/<your_certificate_name>.p12
Add safouswaap.ini file in your project
After you download the safouswaap.ini file from Admin Portal, just simply put the file into your project. You can place it in your project directory.
<your_project>/<your_project_folder>/safouswaap.ini
Or you just can add the file in through the Xcode IDE.
Right click Project -> Add Files to "<your_project>" -> Choose safouswaap.ini -> Click Add
Now the safouswaap.ini ready to be used for your project.