# git 出现错误 Could not resolve host: github.com

626 阅读1分钟

pod install 报错:"Could not resolve host: github.com"

www.jianshu.com/p/d0ad02174…

解决:

  • 1: sudo vi /etc/hosts

  • 2: 添加: 192.30.255.112 github.com //github地址

  • 3: 保存: :wq!