CocoaPod, télécharger la dernière version d'un Pod

Bonjour,


 


J'essaye d'utiliser un Pod nommé RingGraph. L'auteur l'a mis à  jour sur GitHub mais la commande Pod Install refuse d'installer la dernière version.


 


J'ai déjà  essayer de ne pas spécifier de version dans le Podfile mais rien n'y fait, c'est la version 0.2.4 qui s'installe alors que je souhaite la version 0.3 car elle a été mise à  jour pour xCode7. J'ai contacté l'auteur mais je n'ai pas de réponse.


 


Si vous avez une idée, je suis preneur.


D'avance merci.


Mots clés:

Réponses

  • Depuis la doc de cocoapods :


    From a podspec in the root of a library repository.


    Sometimes you may want to use the bleeding edge version of a Pod. Or a specific revision. If this is the case, you can specify that with your pod declaration.


    To use the master branch of the repository:


    pod 'AFNetworking', :git => 'https://github.com/gowalla/AFNetworking.git'

    To use a different branch of the repository:


    pod 'AFNetworking', :git => 'https://github.com/gowalla/AFNetworking.git':branch => 'dev'

    To use a tag of the repository:


    pod 'AFNetworking', :git => 'https://github.com/gowalla/AFNetworking.git':tag => '0.7.0'

    Or specify a commit:


    pod 'AFNetworking', :git => 'https://github.com/gowalla/AFNetworking.git':commit => '082f8319af'

    It is important to note, though, that this means that the version will have to satisfy any other dependencies on the Pod by other Pods.
  • Super ça marche nickel ;-)


     


    J'ai mis l'information sur les issues github du pod.


     


    Reste à  savoir comment prévenir Cocoapod qu'il y a une erreur dans un Pod


Connectez-vous ou Inscrivez-vous pour répondre.