Cocoapods error: 'Unable to read the license file'

前端 未结 10 1660
挽巷
挽巷 2021-01-11 14:20

When I type

pods install

or

pods update

I get the following error for one library:

Unable

10条回答
  •  悲哀的现实
    2021-01-11 15:11

    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.

提交回复
热议问题