Last active
August 29, 2015 14:13
-
-
Save saxsir/3133d3f9aab4b130a4bd to your computer and use it in GitHub Desktop.
CocoaPodsのインストール
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mac OS | |
# rbenvでrubyのバージョン管理 | |
$ ruby -v | |
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin13.0] | |
$ gem -v | |
2.2.2 | |
$ sudo gem update | |
$ sudo gem install cocoapods | |
$ rbenv rehash | |
$ pod setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /path/to/YourApp | |
# YourApp.xcodeprojと同じ階層で | |
$ pod init | |
$ vim Podfile | |
# Podfileを参照 | |
$ pod install | |
# xcodeは閉じた状態で | |
$ open YourApp.xcworkspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
platform :ios, "8.0" | |
pod "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment