Add SDK

更新时间:
复制 MD 格式

Integrate the Mobile Sync Service (MSS) component into an iOS client.

You can quickly integrate the Mobile Sync Service (MSS) component into an iOS client.

MSS supports three integration methods: mPaaS framework-based, mPaaS plug-in for an existing project, and CocoaPods for an existing project. For more information, see Introduction to connection types.

Prerequisites

You have integrated your project with mPaaS. For more information, see the following topics:

Add the SDK

Select an approach to add the SDK based on your connection type.

Use the mPaaS Xcode Extension

Use this approach to integrate the SDK based on the mPaaS framework or into an existing project using the mPaaS plug-in.

  1. In the Xcode menu bar, choose Editor > mPaaS > Edit Project to open the project editing page.

  2. Select Mobile Sync Service, save the configuration, and then click Start Editing to add the component.

Use the cocoapods-mPaaS plug-in

Use this approach to integrate the SDK into an existing project using CocoaPods.

  1. In the Podfile, add the mPaaS_pod "mPaaS_Sync" dependency for the MSS component.

    mss-pod

  2. Run pod install to complete the integration.