Engineering Remove Cocoapods Dependent libraries

Source: Internet
Author: User
Tags install cocoapods

http://zanderzhang.gitcafe.io/2015/09/26/Project Removal cocoapods Dependency Library/

Click here--->cocoapods installation and use tutorial

We can remove a lot of third-party open-source libraries when we work on them, sometimes when we don't need them.

How do I remove CocoaPods from a project in StackOverflow?

The second answer is relatively simple.

Need to use two CocoaPods plugin

    • Cocoapods-deintegrate
      • Installing the gem install cocoapods-deintegrate
      • Running pod deintegrate

After this step, the rest

Podfile

Podfile.lock

Workspace

    • You can manually remove the remaining three, or you can use the cocoapods-clean
      • Installing the gem install Cocoapods-clean
      • Run pod clean
      • Last Run rm podfile removal podfile

If there is a problem, you can remove the path to the previously used library,

In the project directory, this is the order in your terminal:

Gem Install Cocoapods-deintegrate

Pod Deintegrate

Gem Install Cocoapods-clean

Pod Clean

RM Podfile

Finally you can add new libraries in Podfile, or not use CocoaPods, andof course Carthage.

Remember to back up your project!

Engineering Remove Cocoapods Dependent libraries

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.