Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Explicitly specify spec repos to load from and the order #85

alloy opened this Issue · 3 comments

4 participants


From @mmobarak:

Another idea for allowing overrides of podspecs is to allow the inclusion of an ordered repo list at the start of the Podfile, in the style of the Gemfile 'source' directive. This would then determine the order in which the pod repos were searched, and maybe eventually download remote repos to cache the podspecs locally:

repo  'mycompanypodspecs'                      # the mycompanypodspecs repo in ~/.cocoapods, 
                                               # installed/managed with 'pod repo', is preferred

repo  '' # the generally authoritative podspec repo 
                                               # downloaded as necessary to ~/.cocoapods 
                                               # subject to management with 'pod repo'

just search all repos and use the one with the highest version


A workaround: The search for the repo to use seems to be alphabetical. You can implicitly specify the order by choosing the repo name in pod repo add.

I would also prefer that it just searches all repos and uses the highest version.


@atomkirk Agreed.

@fabiopelosin fabiopelosin was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.