Modify the last step of CocoaPods dependency library, cocoapods

Source: Internet
Author: User

Modify the last step of CocoaPods dependency library, cocoapods

I read this blog http://blog.csdn.net/wzzvictory/article/details/20067595, but CocoaPods had an update in April 2015, and something trunk (see http://blog.cocoapods.org/CocoaPods-Trunk ), it means that you can't use the pullRequest method to submit your own library in the future, you have to use the pod trunk push method (see the http://guides.cocoapods.org/making/getting-setup-with-trunk ). Simply put, after completing step 4 of the above blog, the fifth step does not work. At this time, you do not have to go to the fork CocoaPods spec project, you do not need to submit the pullRequest (the request will also be rejected ). In this case, we should do the following: if (No pod trunk register has been used) {use the pod trunk register command to register it. The command is probably like this: $ pod trunk register orta@cocoapods.org 'Orta Therox' --description='macbook air'For details, see: http://guides.cocoapods.org/making/getting-setup-with-trunk} after the registration is completed (later), cd to your project directory direct pod trunk push on the line for a while, if there is no error prompt, push will be successful, at this time, it is the same as what the blog started with said. You don't have to wait for CocoaPods to manually review, directly pod setup, and update all Pods dependent library trees to the local machine. At this time, the pod search xxx will be able to search for its own database. If you want to declare that your previous database belongs to your own database, see: http://blog.cocoapods.org/Claim-Your-Pods/ in general, I feel that this is more convenient than the previous manual review, at least a lot faster, do not have to wait for a long time ~~

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.