CocoaPods requires your terminal to be using UTF-8 encodingbash
Consider adding the following to ~/.profile:ide
export LANG=en_US.UTF-8ui
解决方法terminal
1:终端执行$open ~/.bash_profile 2:添加 export LANG=en_US.UTF-8 3:关闭 4:若是使用的是VSCode和Android Studio,请关闭程序,重新启动io