Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cocoapods error during pod update

I've been using Cocoapods without any problems on my projects for a while now, but today I suddenly got this error while trying to update my pods on a particular project:

[!] Pod::Executable pull

Your configuration specifies to merge with the ref 'master'

from the remote, but no such ref was fetched.

I have been trying to work out what is causing this issue but to no avail (it happens on all projects that use Cocoapods during the "Analyzing dependencies" stage).

Does anyone know what's causing this (and how to resolve it)?

like image 542
adriaan Avatar asked Dec 15 '22 05:12

adriaan


1 Answers

This looks like an issue with the git repository that all of CocoaPod's specs come from. It lives in ~/.cocoapods. To fix issues like this the easiest way is to just delete it entirely with rm -rf ~/.cocoapods and set it up again with pod setup

EDIT:

Today (1/30/14) there was an issue with the specs repo that may make you want to fix this. Read more about it on the CocoaPods Blog

like image 110
Keith Smiley Avatar answered Dec 24 '22 14:12

Keith Smiley