!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`. You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
Open Terminal and run this command that will add the source on master branch on cocoapod repos .
$ cd ~/.cocoapods/repos
$ git clone https://github.com/CocoaPods/Specs.git master
if again issuing already has master branch and it’s not empty and completely remove cocoapod and install from new .