インストール
$ sudo gem install cocoapods --pre
初期設定
$ pod setup
Podfile作成・編集
$ cd xcodeprojがあるディレクトリ
$ pod init
$ vi Podfile
# Uncomment this line to define a global platform for your projec
platform :ios, '8.0'
target 'PJ名' do
pod 'ライブラリ名'
end
target 'PJ名Tests' do
end
xcode起動
$ open libtest.xcworkspace
enjoy!