All Products
Search
Document Center

Add SDK

Last Updated: Mar 24, 2021

This topic describes how a mobile gateway component can access the iOS client.

The mobile gateway supports three types of access, including access based on the mPaaS framework, existing projects with the mPaaS plugin, and existing projects with CocoaPods. You can refer to Access introduction, and choose the appropriate access method.

Prerequisites

You have connected your project to mPaaS. For more information, see Access mPaaS based on native framework and using Cocoapods.

Add the SDK

Use CocoaPods plugin to add the MSS SDK. Complete the following steps:

  1. In the Podfile file, use mPaaS_pod "mPaaS_RPC" to add mobile gateway component dependencies.
    mgs_pod
  2. In the terminal, run pod install to complete access.

Follow-up steps

Use the SDK