title: How to install a pod from a specific branch?
body: <p>I'm trying add add a pod by cocoapods, and I am using swift 3, while the pod(<a href="https://github.com/stephencelis/SQLite.swift/tree/master" rel="noreferrer">SQlite.swift</a>).</p>
  
  <p>I am trying to use doesn't have a master of the latest swift version, however there is a <a href="https://github.com/stephencelis/SQLite.swift/tree/swift3-mariotaku" rel="noreferrer">branch</a> for swift 3. </p>
  
  <p>So how should I set my podfile to download the specific branch? Is it possible?</p>
  
  <p>Here is my podfile:</p>
  
  <pre><code>platform :ios, '10.0'
  
  target 'RedShirt' do
    use_frameworks!
  
    # Pods for RedShirt
     pod 'SQLite.swift', :git =&gt; 'https://github.com/stephencelis/SQLite.swift.git'
  end
  
  post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '3.0'
      end
    end
  end
  </code></pre>