flutter 利用码云更新CocoaPods之后的处理

1:下载码云里的 zip file 假如名称为 xxx-master.zip

2:确保  此目录 /Users/lpfreesolo/.cocoapods/repos/cocoapods 里只有 .git 目录

3:将 xxx-master.zip 复制到 /Users/lpfreesolo/.cocoapods/repos/ 并改名为master

4:到 mater 目录里执行 

  git init

  git remote add origin https://github.com/CocoaPods/Specs.git

  git remote -v 

5:删除 cocoapods 目录 并将 master目录改名为 cocoapods

6:AS里可以启动flutter项目了

posted on 2020-06-13 02:15  --LP--  阅读(225)  评论(0)    收藏  举报

导航