Configuration
Setup the project
You will need to add the MobbID SDK libraries to the "Frameworks, Libraries, and Embedded Content" section of your Xcode project. Then, ensure that all .xcframework
artifacts are marked as "Embed & Sign"".
Depending on your project's initial configuration, you may need to include certain third-party libraries. Review the sample project provided to you, or contact Mobbeel for assistance if you encounter any issues at this stage.
Initialize the SDK
The first step is to initialize the MobbID SDK. This step must be completed before performing any other actions with the SDK.
[CMIDSDK.mIDSDK doInitSDKApplicationId:@"your_application_id"
authToken:@"your_auth_token"
serverUrl:@"your_server_url"];
MIDSDK.shared.doInitSDK(applicationId: "your_application_id",
authToken: "your_auth_token",
serverUrl: "your_server_url")
To locate the applicationId
, authToken
, and serverUrl
, please refer to the Licenses section.
Once the SDK has been initialized, you can proceed to configure the remaining modules: