Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to read the license file `LICENSE` for the spec `GoogleDataTransport (3.2.0)`

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.

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.

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.

like image 935
Blasanka Avatar asked Dec 11 '22 01:12

Blasanka


1 Answers

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

pod deintegrate
pod setup
pod install

in terminal. and open .xcworkspace and Product -> Build

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

like image 87
Blasanka Avatar answered Dec 12 '22 15:12

Blasanka