iOS development: pod slow, replace

Source: Internet
Author: User


Run command:pod repo

Discovery is the source of GitHub, how to replace it?


The net is to replace the source of repo using the following method:

Pod Repo Remove Master

Pod Repo Add Master Https://git.coding.net/CocoaPods/Specs.git

Pod Repo update

However, I tried many times and the results were:

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

Finally continue to find, found the following, method:

Perform:

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



Finally, remember to:

Pod Repo update


After that, I believe our pod install, pod Update and so on are much faster.


New Podfile file, fill in the first line: source ' https://gitclub.cn/CocoaPods/Specs.git '


Reference: http://www.cnblogs.com/yfming/p/5965860.html

This article from "Beijing Look" blog, declined reprint!

iOS development: pod slow, replace

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.