Error updating project Pods

0

I am trying to update the Pods of my project but it tells me that it can not connect, this is what appears to me:

  

AlxMrcers-iMac: ~ alxmrcer $ cd / Users / alxmrcer / Desktop / proygym_fnl / gym

     

AlxMrcers-iMac: gym alxmrcer $ pod update

     

Update all pods

     

Setting up CocoaPods master repo

     
    

[!] Unable to add a source with url      https://github.com/CocoaPods/Specs.git named master . You can try     adding it manually in ~/.cocoapods/repos or via pod repo add .

         

[!] Your Podfile has had smart quotes sanitized. To avoid issues in     the future, you should not use TextEdit for editing it. If you are not     using TextEdit, you should turn off smart quotes in your editor of     choice.

  

When I run the same command on any other Mac, it runs without problems, also when I open the Chrome I can enter any page, but if I use AppStore or Safari, I get

  

Safari can not find the server

or

  

Impossible to connect to the store

    
asked by Lrawls 01.12.2016 в 20:20
source

2 answers

1

You need to clean the Cocoapods cache. To do this write the following:

sudo rm -fr ~/.cocoapods/repos/master
pod setup

Later, he writes:

pod install
    
answered by 24.04.2017 в 18:39
0

Go to ~/.cocoapods/repos and run git clone https://github.com/CocoaPods/Specs.git master

    
answered by 02.12.2016 в 14:44