Cocoapods deletes the third-party libraries of the imported project and removes cocoapods and third-party cocoapods from the project.The first section describes how to delete a third party that has been configured by cocoapods in the project.
1. Open the Podfile file in the project.
2. Delete the command line of the
Cocoapods Application Part 2-private database-related, cocoapods Part 2This is related to the second part of the first part see http://blog.csdn.net/yohunl/article/details/47982949 or http://www.cocoachina.com/ios/20150906/13323.htmlHere, we use the first part to describe the framework project created using pod lib create YohunlUtilsPod. the creation process will not be repeated here, of course, you can als
Cocoapods installation and use, cocoapods Installation and Use
During programming, third-party class libraries are often used to improve efficiency and save time, But manual import is troublesome, therefore, we need to use a variety of database management tools which are the most common-cocoapods.
Before introducing cocoapods
Cocoapods configuration, cocoapodsIi. CocoaPods Installation
CocoaPods can be conveniently installed through RubyGems of Mac.
Open Terminal (the Terminal that comes with the Mac computer ):
(1). Set the ruby software source
This is because ruby's software source rubygems.org was blocked by tianchao because of Amazon's cloud services. I need to update the ruby sou
1. Installation MethodMain Command: sudo gem install cocoapodsBytes ------------------------------------------------------------------------------------------------------------------------------Run the following commands in the terminal:
$ gem sources --remove https://rubygems.org//
Run the following command after the response.
$ gem sources -a http://ruby.taobao.org/
To verify that your ruby image is Taobao only, run the following command:
$ gem sources -l
The command above is successful onl
CocoaPods, cocoapods
Facilitate management of numerous third-party libraries (automatic configuration of relevant information) and provide dynamic updates (using Terminal Operations)
Install tools first
sudo gem install cocoapods
Then we need to tell cocoapods which project needs to use it.
Finder enters the project d
CocoaPods installation and use details, cocoapods Installation DetailsWhat is CocoaPods?
Many third-party open-source libraries, such as JSONKit and SDWebImage, are frequently used when you develop iOS applications. A class library may use other class libraries. to use it, you must download other class libraries. Other class libraries also use other class librari
CocoaPods: Building a private warehouse and cocoapods private warehouse
CocoaPods is an excellent third-party package management tool in IOS and Mac. It is similar to java maven and brings great convenience to project management.
Individuals or companies will accumulate many reusable code packages during the development process. Some of them do not want to be ope
Problems encountered during cocoapods installation and installation, cocoapods Process
1. $ ruby-v // check the current ruby version. My version is ruby 2.0.0p648 and earlier than 2.2. Therefore, problems may occur when installing cocoapods below.
2. $ gem sources-l // view the current ruby source, the default is https://rubygems.org/because of firewall problems
The cocoapods is installed, but it appears./library/ruby/gems/2.0.0/gems/claide-0.9.1/LIB/CLAIDE/COMMAND.RB:417:inch' help!': [!] You cannot run CocoaPods as root. (CLAIDE::HELP)Usage: Pod COMMAND CocoaPods, the Cocoa library package Manager.commands:+Cache Manipulate the CocoaPods cache+ init Generate a podfile forThe
Precautions for using cocoapods for the first time and cocoapods
When only cocoapods is used, various errors and problems may occur.Here is a summary:1. first, using cocoapods has many advantages. It is used by many excellent open-source projects on github. If you do not use it, if you download many excellent open-so
Today, let's talk about cocoapods removal steps!1. Remove pod component , open terminal to execute which podAnd then output the path, mine is/usr/local/bin/pod.2. Remove the Cocoapods component and Continue with the
sudo rm-rf path (warm tip: When entering the password, there is no digit display, do not think not input) 3.
Remove the Cocoapods package
Error 1. While executing gem no such nameReason for error: The Gem URL is blocked.WORKAROUND: Set https://ruby.taobao.org/details Reference http://www.cnblogs.com/lidongxu/p/5147015.htmlError 2. You don't have a write permissions for the ...Cause of error: You do not have permissions on your behalf.Workaround: You have to invoke the superuser sudo input command sudo gem install cocoapods details visible http://www.cnblogs.com/lidongxu/p/5147015.htmlEr
CocoaPods introduction, cocoapodsWhat is CocoaPods?
Many third-party open-source libraries, such as JSONKit and AFNetWorking, are frequently used when you develop iOS applications. A class library may use other class libraries. to use it, you must download other class libraries. Other class libraries also use other class libraries ", this may be a special case. In short, it is very troublesome to manually
Download and install cocoaPods, download and install cocoaPods
CocoaPods management for some third-party libraries in ios. Easy to manage third-party Libraries
Briefly describe the installation steps
1. sudo gem install cocoapods2, gem sources -- remove https://rubygems.org/(in the middle, so do not follow the Three)3. gem sources-a https://ruby.taobao.org/4. gem
IOS-Cocoapods is not updated timely, and ios-cocoapods is updated
I. Problems
When you use cocoapods to search for some libraries, the version found is earlier than the version above Github, which may cause some problems. For example, when I upgrade an LTNavigationBar library to iOS10, some content in the navigation bar cannot be displayed. This problem has bee
IOS-removes CocoaPods content warnings and ios-cocoapods warningsPreface
Monday, January 1
I want to update my blog today. The content is not much and the mood is complex;
Suddenly I want to recite a poem:
Actually, I am a kind person;
Actually, I am...
Forget it. Let's talk about things!
Eliminate CocoaPods warnings
After
CocoaPods third-party database addition error, cocoapods third-party
1. terminal error: The dependencyMBProgressHUD (~> 0.9.2)Is not used in any concrete target.2. Cause: Upgrade CocoaPods to the latest version (including some later versions). The content of the Podfile file must clearly indicate the targetName of the third-party library used.3. Error analysis:
CocoaPods local private database creation and use tutorial, cocoapods use tutorial
For continuous integration of modules Split the project to reduce coupling and use privatePODIntegration
CdFile Path
Step 1 Create a library space File
Pod spec create library name
Mkdir Classes
Step 2 modify xxx. podspec to modify the following key points:
1. "example" or "EXAMPLE"
2. s. platform running platform
3 S. descr
Delete the original cocoapods, version, and then download the specified version of the Pods
Macbook-pro:sarrs_develop mac.pro$ pod--version
Macbook-pro:sarrs_develop mac.pro$ Gem List
Macbook-pro:sarrs_develop mac.pro$ Gem List cocoa
Macbook-pro:sarrs_develop mac.pro$ Gem Uninstall cocoapods
Macbook-pro:sarrs_develop mac.pro$ Gem List cocoa
Macbook-pro:sarrs_develop mac.pro$ Gem Uninstall
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.