pod私有库更新脚本

#!/bin/bash

# pod repo add aliyun https://github.com/aliyun/aliyun-specs.git
# pod repo add mobileAppBinary ssh://git@code.vipkid.com.cn:3590/mobileAppBinary/Specs
# pod repo add mobile-app ssh://git@code.vipkid.com.cn:3590/mobile-app/Specs

echo "pod updating aliyun private repo========"
pod repo update aliyun
echo "aliyun private repo updated success========"

echo "pod updating mobile-app private repo========"
pod repo update mobile-app
echo "mobile-app private repo updated success========"

echo "pod updating mobileAppBinary private repo========"
pod repo update mobileAppBinary
echo "mobileAppBinary private repo updated success========"

# echo "removing Podfile.lock=========="
# rm -rf Podfile.lock 
# echo "removed Podfile.lock success========"

#rm -rf app-study-iPad.xcworkspace  Pods 

echo "start reinstall========== "
pod install --no-repo-update

echo "opening workspace========== "
#sleep 1s
open app-study-iPad.xcworkspace

发表评论

电子邮件地址不会被公开。 必填项已用*标注