When I type
pods install
or
pods update
I get the following error for one library:
Unable
This is what worked for me:
Podfile
pod install
pod cache clean --all
Podfile
pod install
Note: Be sure to pin the version from Podfile.lock
in the Podfile
if the locked version is required
In my case, I solved this issue by changing the name of my license file from LICENSE to LICENSE.txt, updating the file name in the podspec, and including both the framework and the LICENSE.txt file in the zip file for my repository.
TL;DR It's Ruby 2.2.+ in OS X. Go back to Ruby 2.1.6.
This was my problem.
[!] Unable to read the license file '.../LICENSE_.txt' for the spec 'pod (v.v.v)'
But also had the problem in Rails.
I had the same problem last week. And Rails had the same problem with load paths with Capital letters in the file path.
This is the question and their response. Strange error in rails - missing helper
This is the issue on Github https://github.com/rails/rails/issues/18660
So, i thought there is the same problem. I go back and the cocoa pod CLI copied all the Licenses in acknowledges.
In fact, we should post an issue on cocoa pods github.
My problem was that when I initially added the tag to git, the LICENSE file was not there. I fixed this by:
pod cache clean --all
pod spec lint
againIt should now work.