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