The React Native docs recommend installing Cocoapods with sudo gem install cocoapods
, but I'm used to using Homebrew and have seen elsewhere that people install it with brew install cocoapods
. When I try installing it with Homebrew, I get this warning:
Warning: Treating cocoapods as a formula. For the cask, use homebrew/cask/cocoapods
What I Want To Know:
What's the difference, if any, between installing Cocoapods with
sudo gem install cocoapods
and withbrew install cocoapods
If I install it with Homebrew, should I install the regular package or the cask? What's the difference?