ios – Cocoapods not updating even after latest version is installed


I tried updating cocoapods with “sudo gem arrange cocoapods” and it’s acknowledged that the latest cocoapods has been put in. However, after I run “pod –model”, it nonetheless reveals that the mannequin is at my earlier cocoapods mannequin. Any suggestions on how one can exchange to the latest mannequin?

xx@xx-MacBook-Air ios % sudo gem arrange cocoapods
Password:
Effectively put in cocoapods-1.11.3
Parsing documentation for cocoapods-1.11.3
Completed placing in documentation for cocoapods after 1 seconds
1 gem put in
xx@xx-MacBook-Air ios % pod setup                 
Setup completed
xx@xx-MacBook-Air ios % pod --version             
1.10.1

I tried to uninstall cocoapods and reinstall it, following this suggestion with the subsequent codes:

xx@xx-MacBook-Air ios % sudo gem uninstall cocoapods
Take away executables:
        pod, sandbox-pod

together with the gem? [Yn]  y
Eradicating pod
Eradicating sandbox-pod
Effectively uninstalled cocoapods-1.11.3
xx@xx-MacBook-Air ios % pod --version               
1.10.1
xx@x-MacBook-Air ios % sudo gem uninstall cocoapods
Gem 'cocoapods' won't be put in
xx@xx-MacBook-Air okepos % sudo gem arrange cocoapods  
Fetching cocoapods-1.11.3.gem
Effectively put in cocoapods-1.11.3
Parsing documentation for cocoapods-1.11.3
Placing in ri documentation for cocoapods-1.11.3
Completed placing in documentation for cocoapods after 2 seconds
1 gem put in
xx@xx-MacBook-Air ios % pod --version
1.10.1

Nonetheless even after I’ve uninstalled cocopods, the pod –model nonetheless reveals the sooner mannequin. I tried re-installing the latest mannequin as soon as extra nonetheless the mannequin nonetheless reveals 1.10.1



Supply hyperlink

Leave a Reply

Your email address will not be published.