繁体   English   中英

CocoaPods无法更新`master-1`仓库

[英]CocoaPods was not able to update the `master-1` repo

我在中国使用cocoapods更新库,我县的网络有限。 所以...

Podfile添加一行:“ pod'SQLCipher'”我运行:

pod install --no-repo-update

失败了!

删除“ pod SQLCipher”

跑:

pod install --no-repo-update .

错误:

[!] CocoaPods was not able to update the `master-1` repo. If this is an unexpected issue and persists you can inspect it running `pod repo update --verbose`

跑:

pod repo update --verbose

正在加载...永远

看来您的规格存储库已在某个时间进行了编辑,现在git无法更新它。

我建议删除并重新创建您的规格存储库;

运行以下命令:

pod repo remove master

然后通过运行设置新的

pod setup

我发现了问题。 我通过添加'SQLCipher.h''SQLCipher.c'文件导入'SQLCipher'。

然后是错误。

通过删除两个文件解决。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM