Cocoapods CDN: trunk报错

2020-06-02  本文已影响0人  jzhang

最近pod search ZJTableViewManager的时候发现报错了,报错如下:

[!] CDN: trunk - Cannot perform full-text search because Algolia returned an error: 0: Cannot reach any host: SSL_connect returned=1 errno=0 state=error: certificate verify failed, SSL_connect returned=1 errno=0 state=error: certificate verify failed, SSL_connect returned=1 errno=0 state=error: certificate verify failed, SSL_connect returned=1 errno=0 state=error: certificate verify failed

查了一些资料
https://github.com/CocoaPods/CocoaPods/issues/9253
pod search ZJTableViewManager --simple,之前的报错不见了,但是出现了新的问题:

[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/all_pods.txt Response: 307 <HEAD><TITLE>Authentication Required</TITLE></HEAD>
<BODY BGCOLOR="white" FGCOLOR="black"><H1>Authentication Required</H1><HR>
<FONT FACE="Helvetica,Arial"><B>
</B></FONT>
<HR>

</BODY>

最终方案

pod repo remove trunk

上一篇下一篇

猜你喜欢

热点阅读