title: How does CocoaPods stores pod zip links in different versions?
body: <p>I have a private CocoaPods framework, because it is a iOS framework, I have to zip it and put into s3 to be able to download. </p>
  
  <p>At the end it looks something like this:</p>
  
  <pre><code>Pod::Spec.new do |s|
  s.name         = "XXX"
  s.version      = "1.0.1"
  s.homepage     = "https://bitbucket.org/XXX"
  s.summary      = "XXX"
  s.description  = "XXX"
  s.license      = "Commercial"
  s.author       = "XXX"
  s.source       = { :http =&gt; "https://s3-ap-southeast-2.amazonaws.com/XXX.zip" }
  s.platform     = :ios, "9.0"
  s.swift_version= "4.1"
  s.ios.vendored_frameworks = "XXX.framework"
  end
  </code></pre>
  
  <p>Every time I update my framework, I will zip a new <code>.framework</code> file then replace the downloadable zip file with exact same url: <code>https://s3-ap-southeast-2.amazonaws.com/XXX.zip</code>.</p>
  
  <p>After it's been uploaded, I do <code>pod push YYY xxx.podspec</code> to pushes the podspec into my another central pod spec repository. </p>
  
  <p>What I am wondering is, if the developer who uses this framework update it from <code>1.0.0</code> to <code>1.0.1</code>. CocoaPods will download the latest <code>framework</code> from that exact same link. What if the developer wants to roll back to <code>1.0.0</code>? where/How does CocoaPod stores the old (all) versions of the zip?</p>