Add the SDK

Updated at:

Add the Diagnosis or Message Push SDK to enable log pulling for iOS client diagnosis.

Add the Diagnosis or Message Push SDK to projects based on the mPaaS framework, a native framework with the mPaaS plugin, or a native framework with CocoaPods.

Note

Three connection types are available. Introduction to connection types.

Diagnosis pulls logs via Mobile Sync or Message Push. Select the corresponding Diagnosis or Message Push module during integration. Mobile Sync offers higher success rates but relies on the Mobile Sync service. Message Push requires the user to be online when the diagnostic instruction is sent and relies on the Message Push service.

Based on the mPaaS framework

Prerequisites

Complete the steps in Integrate based on the mPaaS framework.

Add the SDK

Follow the steps for your preferred diagnosis method.

Mobile Sync method

Add the Diagnosis module using the mPaaS plugin.mPaaS plugin > Edit modules.

Message Push method

Add the Diagnosis and Message Push modules using the mPaaS plugin.mPaaS plugin > Edit modules.

Based on an existing project and using the mPaaS plugin

Prerequisites

Complete the steps in Integrate based on an existing project and using the mPaaS plugin.

Add the SDK

Follow the steps for your preferred diagnosis method.

Mobile Sync method

Add the Diagnosis module using the mPaaS plugin.mPaaS plugin > Edit modules.

Message Push method

Add the Diagnosis and Message Push modules using the mPaaS plugin.mPaaS plugin > Edit modules.

Based on an existing project and using CocoaPods

Follow the steps for your preferred diagnosis method.

Prerequisites

Complete the steps in Integrate based on an existing project and using CocoaPods.

Add the SDK

Follow the steps for your preferred diagnosis method.

Mobile Sync method

Add mPaaS_pod "mPaaS_Diagnosis" to your Podfile. The CocoaPods integration guide covers Podfile configuration.

Message Push method

Add mPaaS_pod "mPaaS_Push" to your Podfile. The CocoaPods integration guide covers Podfile configuration.