Cocoapods error: 'Unable to read the license file'

前端 未结 10 1736
挽巷
挽巷 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 14:53

    I just had this issue today, seems to have been caused by my cache being corrupted somehow; perhaps a charset issue? No idea, but the solution that worked for me was the bash script in this Gist.

    It clears the cocoapods cache so that you get a fresh copy of all required when you next run pod install. Fixed my problem immediately, confirming my suspicion, and hasn't reoccurred since.

提交回复
热议问题