脚本

sudo gem install -n /usr/local/bin fir-cli//安装fir//上传ipa包 fir login token_key//token fir publish ipa_path// ipa路径

钉钉机器人
contentInfo="已经完成打包" curl "https://oapi.dingtalk.com/robot/send?access_token=token” -H "Content-Type: application/json" -d "{\"msgtype\": \"text\", \"text\": {\"content\": \"$contentInfo\"}}"

修改hosts
sudo vi /etc/hosts

【脚本】变成linux可执行文件
chmod 777 build_project_script
清除MAC终端代理
env|grep -i proxy export https_proxy="" export HTTP_PROXY="" export http_proxy=""

    推荐阅读