Edited at

CocoaPodsで "[!] Pod::Executable pull" エラーが出てしまった際の対策

More than 5 years have passed since last update.

pod install を実行した際に、↓こんな風にエラーが出てしまいました

[!] Pod::Executable pull

A AFHARchiver/0.2.1/AFHARchiver.podspec

A AFWunderlist/1.0/AFWunderlist.podspec


A ym/1.2.6/ym.podspec

A zipzap/6.0/zipzap.podspec
Pull is not possible because you have unmerged files.

Please, fix them up in the work tree, and then use 'git add/rm <file>'

as appropriate to mark resolution, or use 'git commit -a'.



Repairing Our Broken Specs Repository http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/

Unfortunately we've encountered a bug in libgit2 and we are going to have to force push into the Specs repository. (Also known as the ‘master’ spec repo.)

What does this mean for you?

Well, basically your CocoaPods setup is going to break.

You are going to have to manually delete any local copies of the Specs repository and re-clone the new version of the Specs repository.

You can do that with the following commands:

pod repo remove master

pod setup



pod repo remove master

pod setup


Error on pod install - stack overflow http://stackoverflow.com/questions/18224627/error-on-pod-install