[cocoaPods]在pod search AFNetworking之后报错([!] /usr/bin/git clone 'https://github.com/CocoaPods/Specs.)

在pod search AFNetworking之后遇到了这个问题

执行 sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer (-switch 后面加上你的Xcode.app包内容里的Developer的文件夹路径即可)

版权声明:本文为博主原创文章,未经博主允许不得转载。

[cocoaPods]在pod search AFNetworking之后报错([!] /usr/bin/git clone 'https://github.com/CocoaPods/Specs.)

时间: 2024-07-29 14:55:41

[cocoaPods]在pod search AFNetworking之后报错([!] /usr/bin/git clone 'https://github.com/CocoaPods/Specs.)的相关文章

git报错git clone https://github.com/synfinatic/tcpreplay.git

一.背景说明 今天使用在Cygwin中git clone时报fatal: I don't handle protocol '?https',如下: 以为是Cygwin实现的git有点问题没太在意,换去cmd执行,但一样是报fatal: I don't handle protocol '?https' 而且有个Warning: Your console font probably doesn't support Unicode.又因此以为是字体问题 标题栏----右键----属性,将字体修改成仿宋

https://github.com/CocoaPods/CocoaPods/search?q=No+such+file+or+directory报错解决方案

――― MARKDOWN TEMPLATE ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ### Command ``` /Users/rwx-mac/.rvm/rubies/ruby-2.0.0-p643/bin/pod install ``` ### Report * What did you do? * What did you expect to happen? * What happened instead? #

git同步遇到报错“fatal: unable to access 'https://github.com/ruanwenwu/newp.git/': Peer reports incompatible or unsupported protocol version.”

git同步遇到报错"fatal: unable to access 'https://github.com/ruanwenwu/newp.git/': Peer reports incompatible or unsupported protocol version." 网上很多人说是因为git版本需要升级.我将git版本升级到最新, [[email protected] tp5test]# git --version git version 2.16.2 问题却依然存在. 最后: y

git同步遇到报错“fatal: unable to access 'https://github.com/lizhong24/mysite2.git/': Peer reports incompatible or unsupported protocol version.”

git同步遇到报错"fatal: unable to access 'https://github.com/lizhong24/mysite2.git/': Peer reports incompatible or unsupported protocol version." 解决办法: yum update -y nss curl libcurl 问题解决了. git同步遇到报错"fatal: unable to access 'https://github.com/liz

ubuntu 14.04 编译opencv-3.4.2 报错: /usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC

ubuntu 14.04 编译opencv-3.4.2 报错解决: 错误信息:/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC/usr/local/lib/libavformat.a: error adding symbols:

GitHub Desktop报错fatal: unable to access 'https://github.com……: schannel: failed to open CA file 'C:/Users……bundle.crt': No such file or directory的解决办法

昨天github桌面版push的时候开始报错,提示某个crt文件找不到,大概就是下面这样 fatal: unable to access 'https://github.com/XXX/': schannel: failed to open CA file 'C:/Users/Andrew/AppData/Local/GitHubDesktop/app-1.2.2/resources/app/git/mingw64/bin/curl-ca-bundle.crt': No such file or

编译报错 /usr/bin/ld: cannot find -lc 解决

今天在编译chkrootkit工具时报错,/usr/bin/ld: cannot find -lc,请教了不少人,在网上找了不少方法尝试终于解决了 先看问题: 这问题一般是由于ld在进行库连接时找不到相应的库文件导致的 解决方法: 出现问题时,先去lib目录下查找相关的库文件: [[email protected] ~]# cd  /usr/lib [[email protected] lib]# ll | grep libc.solrwxrwxrwx   1 root root       1

安装 sysbench的 报错 /usr/bin/ld: cannot find -lmysqlclient_r 解决办法

首先你需要找到这个库的位置 一般找的话需要将lib 给加上(注意:我这里是 -lmysqlclient_r 的报错,于是我找就找 libmysqlclient_r ) find / -name libmysqlclient_r* /usr/lib64/mysql/libmysqlclient_r.so/usr/lib64/mysql/libmysqlclient_r.so.16/usr/lib64/mysql/libmysqlclient_r.so.16.0.0 既然找到了 那应该是路径的问题

编译报错: /usr/bin/ld: cannot find -lc

在编译的时候偶尔遇到错误/usr/bin/ld: cannot find -lc,如下: 查看是没有安装静态库glibc-static而导致的,安装在编译即可: 安装方法: yum install glibc-static -y 然后在编译就不报错了: