解决Couldn‘t determine repo type for URL

Posted ihoudf

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决Couldn‘t determine repo type for URL相关的知识,希望对你有一定的参考价值。

1、在终端依次输入以下命令

  1. cd ~/.cocoapods/repos
    
    # 非必要  pod repo remove master
    
    git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git #地址是新加的source 地址

  2. 回工程目录:pod install

以上是关于解决Couldn‘t determine repo type for URL的主要内容,如果未能解决你的问题,请参考以下文章

解决Couldn‘t determine repo type for URL

解决yum安装软件报Couldn't resolve host 'mirrorlist.centos.org问题

CentOS Couldn't resolve host 'apt.sw.be'

报错:Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

解决Warning Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get fil

[tomcat] couldn't get host name 解决