Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Private cocoapod never shows update

I have a private cocoa pod which I have successfully built and included in my project.

In my project's podfile, I add it as so:

pod 'myPrivatePod', git: 'https://git.private.com/myPrivatePod.git'

My podspec file is in the root of the project, I followed the example from reachability. When I update my pod, I change version number in xcode as usual, I update the podspec version and source(tag).. I also apply the tab to git. After an update, when I do pod update / pod oudated I never get this new update. I end up having to remove the pod, doing a 'pod install' -> add pod, do 'pod install' again.. At this point I get my latest version.

I feel like I could be missing something, but I've gone through the guides with no luck.

like image 707
JDM Avatar asked Oct 19 '22 04:10

JDM


1 Answers

You never got the update because you should clean the cache of cocoapods :

pod cache clean --all

After that, just call the usual pod update and it should work.

like image 125
Loegic Avatar answered Oct 23 '22 18:10

Loegic