Cocoapods错误:“无法读取许可证文件” [英] Cocoapods error: 'Unable to read the license file'

查看:93
本文介绍了Cocoapods错误:“无法读取许可证文件”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我键入

pods install

pods update

我对一个库遇到以下错误:

I get the following error for one library:


无法读取许可证文件 / Users / me / Documents / project / myproject / company / myproduct / Pods / OHAttributedLabel / OHAttributedLabel / LICENSE 用于规格 OHAttributedLabel(3.5.3)

有人知道为什么吗?我被建议:

Does anyone know why? I have been suggested:

pod repo remove master
pod setup

无济于事

推荐答案


TL; DR这是Ruby在OS X中为2.2。+。回到Ruby 2.1.6。

TL;DR It's Ruby 2.2.+ in OS X. Go back to Ruby 2.1.6.

这是我的问题。


[!]无法读取规格'pod(vvv)'的许可证文件'... / LICENSE_.txt'

[!] Unable to read the license file '.../LICENSE_.txt' for the spec 'pod (v.v.v)'

但是在Rails中也有问题。

But also had the problem in Rails.

我上周遇到了同样的问题。而且Rails对于在文件路径中带有大写字母的加载路径也存在相同的问题。

I had the same problem last week. And Rails had the same problem with load paths with Capital letters in the file path.

这是问题及其答案。
rails发生奇怪的错误-缺少帮助程序

This is the question and their response. Strange error in rails - missing helper

这是Github
https: //github.com/rails/rails/issues/18660

因此,我认为存在相同的问题。我回过头来,可可豆CLI在确认中复制了所有许可证。

So, i thought there is the same problem. I go back and the cocoa pod CLI copied all the Licenses in acknowledges.

实际上,我们应该在可可豆github上发布一个问题。

In fact, we should post an issue on cocoa pods github.

这篇关于Cocoapods错误:“无法读取许可证文件”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆