Hi Guys! I just started to use Xcode, and I have seen some videos in Chris’s channel. I just started a new account at firebase and it requires cocoapods. So I searched a about it and tried to download it via Terminal in a macbook, but it did not work. When I type in “sudo gem install cocoapods” and then enter my password for the computer, the response I get it "cocoapods’s executable “pod” conflicts with /usr/local/bin/pod
Overwrite the executable? [yN] ", I don’t know what to do, plz help!
first you need t create a project on Firebase, iOS most likely. Then follow the isntructions on there.
They go in this order:
- Downlaod Google.plist
- Add to your project (make sure it is linked to the project)
- Close the project, then open Terminal, drag your project folder into the window
- Then type “pod init”
- Then type “open Pdfile”
- Then type “pod install” and wait for all the installing to be done
- Once complete open the project file, but the one that says workspace!
And your are done!
Thank you Zeno, but I think you did not understand what the issue was. When I try to install cocoapods into the system, not for my xcode project, but my mac’s system, it does not work. I type in “sudo gem install cocoapods” and emedietly after I typed in my password I get an error that says "cocoapods’s executable “pod” conflicts with /usr/local/bin/pod
Overwrite the executable? [yN] "
are you using zsh mode in the terminal?
when you open your terminal it should say this
" The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh
.
For more details, please visit https://support.apple.com/kb/HT208050.
Franciss-MacBook-Air:~ francisfuerte$"
if you read something like this then dont move over to zsh just ignore it
you can also try overwriting your cocoapods it should be fine
how do I overwrite my cocoapods? Im sorry Im really new to this…
once it asks for
just type in “y” and press enter