Pod::Executable pull

使用cocoapods 的时候遇到了以下错误:[!] Pod::Executable pull


Updating eaf98af..ba3c030
error: Your local changes to the following files would be overwritten by merge:

    Google-Maps-iOS-SDK/1.3.0/Google-Maps-iOS-SDK.podspec

Please, commit your changes or stash them before you can merge.

Aborting
在stackoverflow中找到解决办法 http://stackoverflow.com/questions/16825715/cocoapods-pod-setup-failed-usr-bin-git-checkout-master
第一种方法如下:(.cocoapods文件夹是隐藏的 直接用命令是可以找到的
cd ~/.cocoapods/master; git checkout .; pod setup

但这个方法没有起作用
第二种方法有效果
rm -rf ~/.cocoapods/master; pod setup

问题解决。
原文地址:https://www.cnblogs.com/rosepotato/p/3723315.html