卸载cocoapods:

localhost:~ je$ sudo gem uninstall cocoapods
Remove executables:
    pod, sandbox-pod

in addition to the gem? [Yn]  Y
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /usr/bin directory.
localhost:~ je$ sudo gem install cocoapods -n /usr/local/bin
Successfully installed cocoapods-1.5.3
Parsing documentation for cocoapods-1.5.3
Done installing documentation for cocoapods after 3 seconds
1 gem installed
localhost:~ jerry$ 
View Code

相关文章:

  • 2022-12-23
  • 2021-06-09
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2021-08-14
  • 2021-07-20
  • 2021-08-14
猜你喜欢
  • 2021-06-24
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2021-11-07
  • 2021-11-21
相关资源
相似解决方案