-
Notifications
You must be signed in to change notification settings - Fork 29
Installation
Tianyong Tang edited this page Jul 11, 2016
·
4 revisions
There are several ways to integrate LeanCloud Swift SDK to your project.
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 framework.
pod 'LeanCloud', :git => '[email protected]:leancloud/swift-sdk.git', :tag => '0.0.1.beta'
Finally, run following command to integrate:
$ pod install