When I type
pods install
or
pods update
I get the following error for one library:
Unable to read the license file
/Users/me/Documents/project/myproject/company/myproduct/Pods/OHAttributedLabel/OHAttributedLabel/LICENSEfor the specOHAttributedLabel (3.5.3)
Does anyone know why? I have been suggested:
pod repo remove master
pod setup
to no avail
In my case this was related to someone in my team committing their .xcworkspace file to the repository, which meant running pod install gave me the licence warnings but at the same time, did not install my pods properly.
This is how I resolved it:
Pods folder from your project.xcworkspace file, Podfile.lock file DerivedData folder Now run pod install and the issue should be fixed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With