报错信息:
Cocoapods
✖ CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.zprofile
export LC_ALL=en_US.UTF-8
修复过程
1、 vim ~/.zprofile
2、添加以下内容: (点击 i 进入编辑状态、:mq 保存编辑结果)
export LC_ALL=en_US.UTF-8 #ckbrew
eval $(/opt/homebrew/bin/brew shellenv) #ckbrew
3、刷新文件 source ~/.zprofile
4、命令行执行下 export LC_ALL=en_US.UTF-8
再次执行 kdoctor