LoginSignup
0
0

CocoaPods

Posted at

はじめに

CocoaPodsをつかうときの自分用メモ

CocoaPodsはインストールしてある前提

pod init

対象のプロジェクトディレクトリをターミナルで開いて

pod init

上記コマンドをいれてPodfileを生成します。

pod file 編集

今回はRealmを追加する場合

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

target 'RealmTest' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  pod 'RealmSwift'

  # Pods for TodoListApp

end

pod install

これでターミナルでpod installコマンドを実施します。

0
0
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
0