In this tutorial I show you how to install a Cocoapod into your Xcode project and using Terminal. Cocoapods is a dependency manager that helps you to install third-party frameworks into your project.
Commands :
For creating podfile
1.pod init
Note : Make sure your project path set on terminal.
For Installing pod in project
2.pod install