Solutions using the Cocoapods card in the Pod Setup interface

Source: Internet
Author: User

http://blog.csdn.net/samoy/article/details/51956799

Sometimes, when we execute pod install or pod search order, the terminal is stuck in the ' Pod Setup ' interface,
In fact, the situation may not really be stuck, the following two solutions are given.

Scenario 1:

    1. When executing the pod install command, add the parameter --verbose : pod install ‘ThirdPartyName‘ --verbose , you can display the installation information in the terminal details, see what the pod is currently doing (in fact, in the installation of the third-party library index), confirm whether it is really stuck.
      2. Enter the terminal home directory, enter ls -a to see the Hidden pod folder, enter cd .cocoapods into the Pod folder, and then enter to see the capacity of the du -sh Repos folder, a few seconds to execute the command, you can see repos capacity is increasing, to increase capacity to 300 + M, description, the Repos folder index directory is installed. At this point, the Pod function is ready for normal use.

Scenario 2:

    1. With scenario 1, we know that during pod setup, the pod is actually installing the index directory of the third-party library, so we can copy the index directory directly from githups to the Repos folder.
    2. Go to https://github.com/CocoaPods/Specs, download the index, and then copy it into the Repos folder. The directory structure looks like this:
    3. Completely exit the terminal, restart the terminal, Pod function can be used normally.
Scenario 3 (Personal): Copy the colleague, paste it over, make sure the directory, the number of files

Solutions using the Cocoapods card in the Pod Setup interface

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.