Cocoapads installation and analyzing dependencies after the advent of the card-dead solution

Source: Internet
Author: User
Tags install cocoapods

1. Installation


A. Viewing the source Gem sources-l

B. Set Source: sudo gem sources-a http://ruby.taobao.org

C. Delete Source: sudo gem sources-r https://rubygems.org/

D. Installing the Cocoapads:sudo gem install Cocoapods

E. Settings: Pod Setup

2. Cocoapods use

A. Search:p od searchsdwebimage

B. Switch to the project's root directory
echo "Pod ' sdwebimage '" >podfile

C. Install: Pod Install

d. Upgrade:pod update

3, analyzing dependencies After the advent of the card-dead solution

Whether the pod install or pod update is stuck in analyzing dependencies, slow to the point of extreme, unbearable.
In fact, the reason is that the above two command execution will upgrade the Cocoapods spec warehouse, plus a parameter can omit this step, and then the speed will be improved a lot. The commands to add parameters are as follows:
Pod Install--verbose--no-repo-update
Or
Pod Update--verbose--no-repo-update

Cocoapads installation and analyzing dependencies after the advent of the card-dead solution

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.