Upgrade MacPorts
$ sudo pod setup
Install With PodFile
- First installed the latest XCode via the Mac App Store
- Install latest XCode command line tools via Xcode (install xcode tools)
- $ sudo port -d selfupdate
- $ sudo port upgrade outdated
Install Ruby Version Manager(RVM) & latest Ruby
$ \curl -L https:
//get
.rvm.io |
bash
-s stable --rails --autolibs=enabled
# Or, --ruby=1.9.3
Install cocoapods
$ sudo gem install cocoapods$ sudo pod setup
Install With PodFile