美文网首页
pod upload “嘿嘿嘿”

pod upload “嘿嘿嘿”

作者: 失忆的程序员 | 来源:发表于2020-04-17 15:53 被阅读0次

    Mac OS 10.15.3

    重点 在最下 Host 内容,都加上

    另外在加一个

    199.232.68.133 raw.githubusercontent.com

    如何前往Host 文件,桌面前往文件夹,复制一份 在替换。

    // 更新 Homebrew

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"


    然后

    1、cd ~/.cocoapods/repos
    2、pod repo remove master

    // 这里会爆红,别管继续。。。

    3、git clone https://github.com/CocoaPods/Specs.git master

    到这里就可以了 ,你就可以开始整理你的项目了。

    4、pod update --no-repo-update

    笔记,不要轻易模仿 ,“备份好你自己的内容” 。

    ##

    # Host Database

    #

    # localhost is used to configure the loopback interface

    # when the system is booting.  Do not change this entry.

    ##

    127.0.0.1 localhost

    255.255.255.255 broadcasthost

    ::1            localhost

    151.101.185.194 github.global.ssl.fastly.net

    192.30.253.112 github.com

    151.101.184.133 assets-cdn.github.com

    151.101.184.133 avatars0.githubusercontent.com

    151.101.112.133 avatars1.githubusercontent.com

    扩展 - 查看指定三方 下载进度

    ls

    cd 文件

    pod install --verbose --no-repo-update

    ---------------------------- 用 YYKit 做参照

    -> Installing YYKit (1.0.9)

    > Git download

    > Git download

        $ /usr/bin/git clone https://github.com/ibireme/YYKit.git

        /var/folders/0h/dbpzp2sx3g3fk7gn65y185gm0000gn/T/d20200426-5926-13cd11o

        --template= --single-branch --depth 1 --branch 1.0.9

        Cloning into '/var/folders/0h/dbpzp2sx3g3fk7gn65y185gm0000gn/T/d20200426-5926-13cd11o'...

    新建一个 终端

    cd  /var/folders/0h/dbpzp2sx3g3fk7gn65y185gm0000gn/T/d20200426-5926-13cd11o

    du -sh

    下载进度

    相关文章

      网友评论

          本文标题:pod upload “嘿嘿嘿”

          本文链接:https://www.haomeiwen.com/subject/hjdyvhtx.html