在保证网络正常的情况下出现"raw.githubusercontent.com" port 443报错. 修改hosts文件.
1打开Finder,按快捷键组合 Shift+Command+G 查找文件,输入/private,确认前往后可看到 etc 文件夹,右键选择'显示简介',在底部打开‘共享和权限’, 2
将everyone的权限改为‘读与写’,保存后右键选择hosts文件. 显示简介后打开读与写的权限.
3`直接修改hosts文件,将以下复制粘贴进去
#Github
151.101.73.194 github.global.ssl.fastly.net
151.101.108.133 assets-cdn.github.com
185.199.111.153 documentcloud.github.com
185.199.110.153 documentcloud.github.com
185.199.109.153 documentcloud.github.com
185.199.108.153 documentcloud.github.com
192.30.253.113 github.com
192.30.253.112 github.com
192.30.253.119 gist.github.com
192.30.253.118 gist.github.com
185.199.111.153 help.github.com
185.199.110.153 help.github.com
185.199.109.153 help.github.com
185.199.108.153 help.github.com
192.30.253.121 nodeload.github.com
192.30.253.120 nodeload.github.com
151.101.108.133 raw.github.com
18.204.240.114 status.github.com
18.211.136.12 status.github.com
18.211.136.12 status.github.com
192.30.253.166 training.github.com
151.101.109.194 github.global.ssl.fastly.net
151.101.108.133 avatars0.githubusercontent.com
151.101.72.133 avatars1.githubusercontent.com
最后完成后将权限改回来
最后重新ping 一下github, 执行 pod install 即可