本文介绍了无法读取规范“ GoogleDataTransport(3.2.0)”的许可文件“ LICENSE”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在pod安装时无法读取规格 GoogleDataTransport(3.2.0)的许可证文件 LICENSE

Unable to read the license file LICENSE for the spec GoogleDataTransport (3.2.0) when pod install Which result in GoogleDataTransport not found when try to build.

早些时候可以用,但是在我将项目上传到驱动器并从Windows计算机上推入git后,我又在另一台Mac中克隆了回购并尝试。这就是发生这种情况的原因。

Earlier it worked but after I upload project to drive and from my windows computer I push to git and in another mac I cloned the repo and tried. That is the reason this happening.

我尝试清洁Pod,重新安装更新,删除podloc,pod目录和.xcworkspace。他们都不工作。我什至从另一个文件夹复制了LICENSE文件,然后粘贴到GoogleDataTransport目录,没有任何效果。

I have tried cleaning pods, reinstalling updating, deleting podloc, pod directory and .xcworkspace. Non of them worked. I even copied the LICENSE file from another and pasted to GoogleDataTransport directory, nothing worked.

推荐答案

我尝试了很多事情,但没有任何效果直到我执行以下操作:

I tried lot of things but nothing worked until I do these:

pod deintegrate
pod setup
pod install

在终端中。并打开 .xcworkspace Product->构建

这个SO答案帮助了我:

This SO answer helped me for that: How to clear or clean specific pod from the local cocoapods cache

这篇关于无法读取规范“ GoogleDataTransport(3.2.0)”的许可文件“ LICENSE”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 14:11