LoginSignup
0
1

More than 5 years have passed since last update.

ゼロから始めるCocoaPods

Last updated at Posted at 2017-07-11

環境

mac os Sierra 10.12.5

手順

1, gemインストール

$ gem install -n /usr/local/bin cocoapods

2, セットアップ

$ pod setup

3, プロジェクトディレクトリへ移動

$ cd ~/プロジェクトディレクトリ

4, podファイル作成

$ pod init

5,使うライブラリを記述

Podfile
# Uncomment the next line to define a global platform for your project             
   platform :ios, '9.0'

   target 'ディレクトリ名' do
     use_frameworks!
     pod 'ライブラリ名'  
  end

6, インストール

$ pod install
0
1
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
0
1