CocoaPods / CocoaPods-app

A full-featured and standalone installation of CocoaPods.
Other
1.23k stars 283 forks source link

How can I delete CocoaPods cli? #429

Closed ttypic closed 4 years ago

ttypic commented 4 years ago

I've added CocoaPods cli using CocoaPods app and now I can't delete it. There is no option in app and also no cocoapods gem in gem list

varunvarman commented 4 years ago

@ttypic

IMHO, you can uninstall the cocoapods app for mac (move to trash), like we do for any application, but, intrinsically it (the app) leverages the CLI for cocoapods to execute operation(s) that you specify within the app, thus in retrospect the CLI is an independent tool (providing a UI for convenience), working independently.

You can use, gem uninstall cocoapods (put $sudo, if required i.e. admin rights)

the above command may show you a list of the currently installed versions of cocoapods, (yes you can have more than one installed on your system) in such a case just specify (select) the version that you want to uninstall or select all (it should also be provided as an option)

Alternatively, (if you have multiple versions installed or have the version installed), you can gem uninstall cocoapods -v xx.xx.x (put $sudo, if required i.e. admin rights) this will remove that specific version of cocoapods.

also ensure that you have cocoapods installed by running pod --version (put $sudo, if required i.e. admin rights) to check if you have it installed or not!

hope this helps, regards.

ttypic commented 4 years ago

Thank you @varunvarman, but there is no cocoapods gems installed in my case. I've figured out that CocoaPods App just pastes pod executable into /usr/local/bin folder and solution is remove it.