2014年9月20日 星期六

Ios Xcode Plugins CocoaPods

Install Cocoapods
$ sudo gem install cocoapods

Open New Xcode Project
$ cd project_folder
$ vi Podfile

Insert Podfile
platform :ios, '8.0'
pod 'JSONKit'

$ pod install
$ open Project.xcworkspace

Import example:
#import <JSONKit.h>

沒有留言:

張貼留言