LoginSignup
16
17

More than 5 years have passed since last update.

はじめてのCocoaPods Swift対応

Posted at

インストール

$ 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!

16
17
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
17