iOS – Install CocoaPods

1. Open Terminal. 2. Enter $ sudo gem install cocoapods command in terminal. 3. Create new Xcode project. 4. Navigate to directory containing Xcode project. Use cd “../directory-location/..” or cd [drag-and-drop project folder] 5. Pod install.