发现问题,分享解决方法。

Github Logo

Resolved github REMOTE HOST IDENTIFICATION HAS CHANGED issue

How to fix the following issue when run the command pod update –verbose or pod install –verbose [!] Error installing XXX [!] Failed to download ‘XXX’: [!] /usr/bin/git clone [email protected]:username/XXX.git /var/folders/z5/qp2m0vpj35zdzlk6sfhhnhwh0000gn/T/d20230401-33779-1wmy5bk –template= –single-branch –depth 1 –branch 1.4.4 Cloning into ‘/var/folders/z5/qp2m0vpj35zdzlk6sfhhnhwh0000gn/T/d20230401-33779-1wmy5bk’… @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It
CocoaPods

CocoaPods安装说明

1、查看gem版本号; gem --version 2、如果gem版本小于2.6.14建议升级到2.6.14或更高版本; sudo gem update --system 3、更换gem源; sudo gem --remove https://rubygems.org sudo gem --add http://gems.ruby-china.org 4、
CocoaPods

如何解决pod update或pod install时出现Cocoapods CDN Error 错误

Cocoapods 1.8.5执行pod update或者pod install时报错如下: Update all pods Updating local specs repositories [!] CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/ Response: 400 解决办法: 按照官方文档 podfile