问题
I am currently installing cocoapods in my Project.i am using xcode 6.3.1 and OS is EL Capitan version is 10.11.6
i am following this steps
- sudo gem install cocoapods
- pod setup
- open terminal and give path of our project
- pod init
when i do pod init i am getting error.i have attached screenshot.
please go through it and please let me know.thanks in advance
回答1:
Try this for CocoaPod issue.
sudo gem install -n /usr/local/bin cocoapods
reference here: https://github.com/CocoaPods/CocoaPods/issues/3736
回答2:
Try
sudo gem uninstall nanaimo
just delete one of the nanaimo, and keep the latest version.
来源:https://stackoverflow.com/questions/42973369/not-able-to-install-cocoapods-in-xcode