POD Install [ 1 ] Open terminal and type: sudo gem install cocoapods   [ 2 ] After installation, there will be a lot of messages, read them and if no error found, it means cocoapods installation is done. Next, you need to setup the cocoapods master repo. Type in


  Proper workflow here: 1.Install deintegrate and clean: $ gem install cocoapods-deintegrate $ gem install cocoapods-clean 2.Run deintegrate in the folder of the project: cd (path of the project) //Remove the braces after cd $ pod deintegrate 3.Clean: $ pod clean 4.Modify your podfile (delete the lines with the pods