I tried type this line in terminal "sudo gem install cocoapods -V" "and sudo gem install cocoapods" ,
And it fetch hundreds lines in about half hour in terminal with error happened as the following lines :
ERROR: While executing gem ... (Errno::ENOTDIR) Not a directory - /usr/local/bin/pod
i'm working on Sierra OS X and i want to use Pods with Xcode i tried different ways to disable root protection with no wish ,
In my other iMac with OS X Capitan i didn't phase any issue with the cocoapods it's was worked fine with me,
please help
I found the solution by do the following :
Cocoapods installed success in my mac
to close .
You can use this command Also
sudo gem install -n /usr/local/bin cocoapods
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