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 ~~