Skip to content

Installation

Tianyong Tang edited this page Jul 20, 2016 · 4 revisions

There are several ways to integrate LeanCloud Swift SDK to your project.

CocoaPods

CocoaPods is a popular dependency manager for Cocoa. You can install it with the following command:

$ gem install cocoapods

CocoaPods 0.39.0+ is required to integrate LeanCloud Swift SDK. Please check the version after installation.

Then, specify LeanCloud in your Podfile:

use_frameworks! # LeanCloud Swift SDK can only be integrated as a dynamic framework.

pod 'LeanCloud'

Finally, run following command to integrate:

$ pod install
Clone this wiki locally