美文网首页
【Mac】Setting up CocoaPods master

【Mac】Setting up CocoaPods master

作者: 冷月葬花魂_ | 来源:发表于2017-09-14 16:40 被阅读0次

    文章参考http://www.jianshu.com/p/e0bebd18fcd9

    安装cocoapods的时候,执行pod setup输出Setting up CocoaPods master repo,就一直卡在那不动了,查看.cocoapods文件大小,一直在56K不变,实在让人很焦急,在网上找的解决办法.

    系统:mac os 11.12.6

    解决方法:

    1.执行:

    pod repo remove master

    2.添加:

    pod repo add master http://git.oschina.net/akuandev/Specs.git

    会出现以下警告,直接忽略进入第三步即可。

    [!] To setup the master specs repo, please run `pod setup`.

    3.下载:

    git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master

    这步已失效,切换源:

    git clone https://gitclub.cn/CocoaPods/Specs~/.cocoapods/repos/master

    4.最后执行:

    pod repo update

    pod setup

    5.结束

    Setting up CocoaPods master repo

    $ /usr/bin/git -C /Users/xxx/.cocoapods/repos/master pull --ff-only

    From https://github.com/CocoaPods/Specs

    f827350ddfa..833b3138d46master-> origin/master

    Updating f827350ddfa..833b3138d46

    Fast-forward

    .../c/MKColorPicker/1.1/MKColorPicker.podspec.json |23 +++++

    .../0.8/CZCMobileAdsSDK.podspec.json|37 ++++++++

    .../2/3/c/ManagerPod/0.1.2/ManagerPod.podspec.json |23 +++++

    .../d/GNRAlertView/0.1.7/GNRAlertView.podspec.json |28 ++++++

    .../0.1.4/MRJ_BarViewController.podspec.json|23 +++++

    .../2/a/4/LJMVVMTool/0.0.7/LJMVVMTool.podspec.json |28 ++++++

    .../2/a/4/LJMVVMTool/0.0.8/LJMVVMTool.podspec.json |28 ++++++

    .../b/Geth/1.7.0-unstable.10931/Geth.podspec.json| 105 +++++++++++++++++++++

    Specs/5/c/f/BSKYCore/0.2.7/BSKYCore.podspec.json|37 ++++++++

    .../1.4/SwiftTransition.podspec.json|23 +++++

    .../8/9/MagixViewer/0.1.3/MagixViewer.podspec.json |22 +++++

    .../8/9/MagixViewer/0.1.4/MagixViewer.podspec.json |22 +++++

    Specs/c/b/7/Aphrodite/1.1.3/Aphrodite.podspec.json |28 ++++++

    .../ZYDataCenter/0.0.5.0/ZYDataCenter.podspec.json |47 +++++++++

    Specs/f/4/6/Rage/0.10.0/Rage.podspec.json|74 +++++++++++++++

    15 files changed, 548 insertions(+)

    create mode 100644 Specs/0/1/c/MKColorPicker/1.1/MKColorPicker.podspec.json

    create mode 100644 Specs/1/7/e/CZCMobileAdsSDK/0.8/CZCMobileAdsSDK.podspec.json

    create mode 100644 Specs/2/3/c/ManagerPod/0.1.2/ManagerPod.podspec.json

    create mode 100644 Specs/2/3/d/GNRAlertView/0.1.7/GNRAlertView.podspec.json

    create mode 100644 Specs/2/7/b/MRJ_BarViewController/0.1.4/MRJ_BarViewController.podspec.json

    create mode 100644 Specs/2/a/4/LJMVVMTool/0.0.7/LJMVVMTool.podspec.json

    create mode 100644 Specs/2/a/4/LJMVVMTool/0.0.8/LJMVVMTool.podspec.json

    create mode 100644 Specs/5/b/b/Geth/1.7.0-unstable.10931/Geth.podspec.json

    create mode 100644 Specs/5/c/f/BSKYCore/0.2.7/BSKYCore.podspec.json

    create mode 100644 Specs/9/9/9/SwiftTransition/1.4/SwiftTransition.podspec.json

    create mode 100644 Specs/a/8/9/MagixViewer/0.1.3/MagixViewer.podspec.json

    create mode 100644 Specs/a/8/9/MagixViewer/0.1.4/MagixViewer.podspec.json

    create mode 100644 Specs/c/b/7/Aphrodite/1.1.3/Aphrodite.podspec.json

    create mode 100644 Specs/d/2/5/ZYDataCenter/0.0.5.0/ZYDataCenter.podspec.json

    create mode 100644 Specs/f/4/6/Rage/0.10.0/Rage.podspec.json

    CocoaPods 1.3.1 is available.

    To update use: `gem install cocoapods`

    For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.3.1

    Setup completed

    相关文章

      网友评论

          本文标题:【Mac】Setting up CocoaPods master

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